function foldimport { fold } from "https://deno.land/x/fun@v2.0.0/contrib/free.ts"; fold<A, O>(foldr: (value: A, accumulator: O) => O, initial: O): (ua: Free<A>) => OType ParametersAOParametersfoldr: (value: A, accumulator: O) => Oinitial: OReturns(ua: Free<A>) => O