git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
More tests
c9aac3cPhil Freeman
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)
8addOne :: Int -> Int
8addOne :: Int -> Int
9addOne = (1 + _)
9addOne = (1 + _)
10
10
11+named :: Int -> Int
12+named = (_ `sub` 1)
13+
11main = Control.Monad.Eff.Console.log "Done"
14main = Control.Monad.Eff.Console.log "Done"