git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
More tests
commitc9aac3cb987c2a7b6fdb9498abc408a863fb22ef authorPhil Freeman <paf31@cantab.net> dateThu 4 Feb 2016, 20:48 (11 years ago) parenta4510ee
4 files changed+15
examples/failing/AnonArgument.purs → examples/failing/AnonArgument1.purs examples/failing/AnonArgument2.purs+7 examples/failing/AnonArgument3.purs+5 examples/passing/ExplicitOperatorSections.purs+3
examples/failing/AnonArgument.purs → examples/failing/AnonArgument1.pursrenamed

The content is the same.

examples/failing/AnonArgument2.pursnew file+7
@@ -0,0 +1,7 @@
1+-- @shouldFailWith IncorrectAnonymousArgument
2+module Main where
3+
4+import Prelude
5+
6+test :: Int -> Int
7+test = 1 + 2 * _
examples/failing/AnonArgument3.pursnew file+5
@@ -0,0 +1,5 @@
1+-- @shouldFailWith IncorrectAnonymousArgument
2+module Main where
3+
4+test :: Int -> Int
5+test = 1 + _
examples/passing/ExplicitOperatorSections.purs+3
@@ -8,4 +8,7 @@ subtractOne = (_ - 1)
88addOne :: Int -> Int
99addOne = (1 + _)
1010
11+named :: Int -> Int
12+named = (_ `sub` 1)
13+
1114main = Control.Monad.Eff.Console.log "Done"