Skip to content

Instantly share code, notes, and snippets.

@aav

aav/t.pony Secret

Created February 14, 2017 19:31
Show Gist options
  • Save aav/36766e578d7dd6f3dcf0bcfb895a9407 to your computer and use it in GitHub Desktop.
Save aav/36766e578d7dd6f3dcf0bcfb895a9407 to your computer and use it in GitHub Desktop.
primitive Type1
primitive Type2
type Tuple is (Type1, Type2)
primitive Test
fun f1(): Tuple =>
(Type1, Type2)
fun f2() =>
let r: Tuple = f1()
if r is Tuple then
None
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment