7 lines
174 B
Text
7 lines
174 B
Text
set_option linter.unusedVariables true
|
|
|
|
structure Ctx where
|
|
s : String
|
|
|
|
def f (s : String) : ReaderT Ctx Id Unit :=
|
|
withReader (fun ctx => { ctx with s := s }) (pure ())
|