git.iko.soy
/
rowtype-yoga/purescript-native
readme
files
commits
refs
on
golang
help
sign in
More tests
c9aac3c
Phil Freeman
11 years ago
examples/failing/AnonArgument.purs → examples/failing/AnonArgument1.purs
renamed
compare with golang
unified
split
The content is the same.
examples/failing/AnonArgument2.purs
new 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.purs
new 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)
8
addOne :: Int -> Int
8
addOne :: Int -> Int
9
addOne = (1 + _)
9
addOne = (1 + _)
10
10
11
+
named :: Int -> Int
12
+
named = (_ `sub` 1)
13
+
11
main = Control.Monad.Eff.Console.log "Done"
14
main = Control.Monad.Eff.Console.log "Done"
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list