git.iko.soy
/
rowtype-yoga/purescript-native
readme
files
commits
refs
on
golang
help
sign in
Test for function scope issue #186
38d8bc9
Gary Burgess
13 years ago
examples/shouldpass/FunctionScope.purs
new file
+17
compare with golang
unified
split
@@ -0,0 +1,17 @@
1
+
module RecordScope where
2
+
3
+
import Prelude
4
+
5
+
mkValue :: Number -> Number
6
+
mkValue id = id
7
+
8
+
module Main where
9
+
10
+
import Prelude
11
+
import RecordScope
12
+
13
+
main = do
14
+
let value = mkValue 1
15
+
if value == 1
16
+
then Trace.trace "Done"
17
+
else Errors.throwError "Not 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