packages feed

funcons-simple-0.1.0.3: tests/Basic/Basic10.fct

initialise-binding initialise-storing initialise-giving finalise-failing finalise-throwing scope
  (collateral (bind
    ("main",
     allocate-variable (functions
       (tuples ((values)*),
        values)))),
   sequential (assign
     (bound ("main"),
      function closure (scope
        (match
          (given,
           tuple ()),
         handle-return (sequential
           (print (decimal-natural ("1")),
            scope
              (bind
                ("x",
                 allocate-initialised-variable
                   (values,
                    decimal-natural ("2"))),
               print (assigned (bound ("x"))))))))),
   apply
     (assigned (bound ("main")),
      tuple ())))