removed useless function
This commit is contained in:
@@ -15,8 +15,6 @@ type 'a parser =
|
|||||||
{ run : input -> 'a parser_result
|
{ run : input -> 'a parser_result
|
||||||
}
|
}
|
||||||
|
|
||||||
let runParser i p = p.run i
|
|
||||||
|
|
||||||
let fold_left1 (f: 'a -> 'a -> 'a) (xs: 'a list) : 'a = match xs with
|
let fold_left1 (f: 'a -> 'a -> 'a) (xs: 'a list) : 'a = match xs with
|
||||||
| [] -> failwith "TODO: make method total; empty list"
|
| [] -> failwith "TODO: make method total; empty list"
|
||||||
| x :: xs -> List.fold_left f x xs
|
| x :: xs -> List.fold_left f x xs
|
||||||
|
|||||||
Reference in New Issue
Block a user