Skip to content

Instantly share code, notes, and snippets.

@saibakatar
saibakatar / gist:709b8d33ecc83bc8d205a7821d85601e
Created October 18, 2018 07:15
Pair declaration in Scilla
contract Pairs()
field a: Pair (String) (Uint32) =
let c= "Hello" in
let d = Uint32 5 in
Pair {(String) (Uint32)} c d (*declaring variable a with no value*)
field b: Pair (String) (Option Uint32) =
let e= "" in
let f = None {Uint32} in