From 360b769ccfb8489779e6a5e9b4de8a1ea142e155 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 7 Dec 2019 18:36:47 -0800 Subject: [PATCH] factor: file endings --- extra/modern/slices/slices.factor | 2 +- extra/tensors/tensor-slice/tensor-slice-tests.factor | 2 +- extra/tensors/tensor-slice/tensor-slice.factor | 2 +- extra/tensors/tensors.factor | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/modern/slices/slices.factor b/extra/modern/slices/slices.factor index 89fdeb05b7..f3453354b0 100644 --- a/extra/modern/slices/slices.factor +++ b/extra/modern/slices/slices.factor @@ -138,4 +138,4 @@ ERROR: subseq-expected-but-got-eof string n expected ; ] if ; inline : peek-from ( string n count -- string n slice ) - [ drop ] [ drop ] [ + ] 2tri reach ? ; \ No newline at end of file + [ drop ] [ drop ] [ + ] 2tri reach ? ; diff --git a/extra/tensors/tensor-slice/tensor-slice-tests.factor b/extra/tensors/tensor-slice/tensor-slice-tests.factor index a2bdb87526..d5b1319083 100644 --- a/extra/tensors/tensor-slice/tensor-slice-tests.factor +++ b/extra/tensors/tensor-slice/tensor-slice-tests.factor @@ -9,4 +9,4 @@ IN: tensors.tensor-slice.tests { { 6 8 } } [ -4 15 2 10 >array ] unit-test { { 1 3 } } [ 1 4 2 10 >array ] unit-test { { 1 3 } } [ 1 5 2 10 >array ] unit-test -{ { 1 3 5 } } [ 1 6 2 10 >array ] unit-test \ No newline at end of file +{ { 1 3 5 } } [ 1 6 2 10 >array ] unit-test diff --git a/extra/tensors/tensor-slice/tensor-slice.factor b/extra/tensors/tensor-slice/tensor-slice.factor index 47124bf768..86eeab8a37 100644 --- a/extra/tensors/tensor-slice/tensor-slice.factor +++ b/extra/tensors/tensor-slice/tensor-slice.factor @@ -23,4 +23,4 @@ M: step-slice virtual@ M: step-slice length [ to>> ] [ from>> - ] [ step>> ] tri dup 0 < [ [ neg 0 max ] dip neg ] when /mod - zero? [ 1 + ] unless ; \ No newline at end of file + zero? [ 1 + ] unless ; diff --git a/extra/tensors/tensors.factor b/extra/tensors/tensors.factor index d952474bf2..96a213729f 100644 --- a/extra/tensors/tensors.factor +++ b/extra/tensors/tensors.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data arrays concurrency.combinators grouping kernel locals math.functions -math.ranges math.statistics math multi-methods quotations sequences +math.ranges math.statistics math multi-methods quotations sequences sequences.private specialized-arrays tensors.tensor-slice typed ; QUALIFIED-WITH: alien.c-types c SPECIALIZED-ARRAY: c:float