on master help sign in
Add name of arguments in type declaration for proper documentation
commit06fbec1841a80e3ed7d26c57053ab11f639a1caf authorJean-Remi Desjardins <jeanremi.desjardins@gmail.com> dateWed 26 Mar 2014, 16:07 (13 years ago) parente058452
1 file changed+1−1
libs/prelude/Prelude/List.idr+1−1
libs/prelude/Prelude/List.idr+1−1
@@ -427,7 +427,7 @@ split p xs =
427427||| It is equivalent to (take n xs, drop n xs)
428428||| @ n the index to split at
429429||| @ xs the list to split in two
430−splitAt : Nat -> List a -> (List a, List a)
430+splitAt : (n : Nat) -> (xs : List a) -> (List a, List a)
431431splitAt n xs = (take n xs, drop n xs)
432432
433433partition : (a -> Bool) -> List a -> (List a, List a)