lean4-htt/examples/precompile/foo/Foo/Hello.lean

7 lines
143 B
Text

@[export hello]
def helloImpl (_ : Unit) := "precompiled world"
@[extern "hello"]
opaque getHello : Unit → String
def hello := getHello ()