Skip to content

Commit

Permalink
sequences.snipped: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Dec 5, 2024
1 parent fede6aa commit d4dda8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/sequences/snipped/snipped.factor
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TUPLE: snipped < sequence-view
{ from integer read-only }
{ length integer read-only } ;

: <snipped> ( from to seq -- snipped )
:: <snipped> ( from to seq -- snipped )
seq dup length :> n
from to [ 0 n clamp ] bi@
over - snipped boa ;
Expand Down

0 comments on commit d4dda8c

Please sign in to comment.