1 importJava "org.simantics.scl.runtime.procedure.Ref" where
\r
5 ref :: a -> <Proc> (Ref a)
\r
8 getRef :: Ref a -> <Proc> a
\r
10 @JavaName "<set>value"
\r
11 (:=) :: Ref a -> a -> <Proc> ()
\r
14 r = ref (13 :: Integer)
\r
15 r := (14 :: Integer)
\r