mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2025-01-02 17:52:09 +03:00
Add some missing public exports
This commit is contained in:
parent
85459814ef
commit
7e72f9d2f4
@ -17,7 +17,7 @@ data Vect : (len : Nat) -> (elem : Type) -> Type where
|
||||
-- Hints for interactive editing
|
||||
%name Vect xs,ys,zs,ws
|
||||
|
||||
export
|
||||
public export
|
||||
length : (xs : Vect len elem) -> Nat
|
||||
length [] = 0
|
||||
length (x::xs) = 1 + length xs
|
||||
|
@ -1308,9 +1308,11 @@ Cast Nat Double where
|
||||
-- RANGES --
|
||||
------------
|
||||
|
||||
public export
|
||||
countFrom : n -> (n -> n) -> Stream n
|
||||
countFrom start diff = start :: countFrom (diff start) diff
|
||||
|
||||
public export
|
||||
partial
|
||||
takeUntil : (n -> Bool) -> Stream n -> List n
|
||||
takeUntil p (x :: xs)
|
||||
|
Loading…
Reference in New Issue
Block a user