Improving IFD
Pad:
pennae's idea:
magic_ifd_primop = \f i -> import f >>= i
# nix:
importAndThen (res: <stuff>) some-ifd.outPath
Observation: a magic IFD primop that immediately does something to the result of an import can be "thunked" (thus processed in the background) and offer an "interesting" fix to IFDs. We cannot just make import be lazy because of the evaluator internals.
Subsequent observations:
Why is this interesting?
The capability of forking / parallelizing the work.
Questions: