Packages

A library for caching deterministic calculations in Gleam

Current section

Files

Jump to
worm src worm.erl
Raw

src/worm.erl

-module(worm).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([persist/1]).
-file("/home/madellyn/Code/mscharley/gleam-worm/src/worm.gleam", 48).
-spec persist(fun(() -> GOR)) -> GOR.
persist(Generator) ->
worm_ffi:persist(Generator).