You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/server/reverse-ffi/lib/RFFI.lean

9 lines
148 B
Plaintext

import Lean
@[export my_length]
def myLength (s : String) : IO Unit := do
IO.println "hello"
IO.println Lean.origin
IO.println s
return ()