git.iko.soy
/
elk
readme
files
commits
refs
on
master
help
sign in
Add a test for port parsing and types
3640376
Evan Czaplicki
13 years ago
tests/test-files/good/Ports.elm
new file
+17
compare with master
unified
split
@@ -0,0 +1,17 @@
1
+
2
+
-- incoming
3
+
port userID : String
4
+
port signal : Signal Int
5
+
port tuple : (Float,Bool)
6
+
port array : [Int]
7
+
port record : { x:Float, y:Float }
8
+
9
+
-- outgoing
10
+
port fortyTwo : Int
11
+
port fortyTwo = 42
12
+
13
+
port time : Signal Float
14
+
port time = every second
15
+
16
+
port students : Signal [{name:String, age:Int}]
17
+
port students = constant []
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