Prelude.splitByAll
This commit is contained in:
@@ -950,4 +950,9 @@ From:[(assert false (+ \"false \" \"should \" \"have \" \"been \" \"true\"))]" m
|
||||
(otherNameForObj?.doThing)
|
||||
(?.doThing obj)
|
||||
(?.doThing otherNameForObj))
|
||||
(Assert.pass))
|
||||
(Assert.pass))
|
||||
|
||||
(function _testSplitByAll []
|
||||
(Assert.equals
|
||||
(Std.string ["Thing" "<" "Generic" ">" "->" "Thing"])
|
||||
(Std.string (Prelude.splitByAll "Thing<Generic>->Thing" [">" "<" "->"]))))
|
Reference in New Issue
Block a user