thunk (fn(x : Nat): MaybeNat {
match(unroll(x)) {
case Nat.zero as x -> return MaybeNat.nothing
case Nat.succ as x -> let y = x.0 in return MaybeNat.just(y)
}
})
를 Lumo로 타입 검사할 수 있게 되었다. sub1이라는 이름을 붙일 수 있는 함수다.
thunk (fn(x : Nat): MaybeNat {
match(unroll(x)) {
case Nat.zero as x -> return MaybeNat.nothing
case Nat.succ as x -> let y = x.0 in return MaybeNat.just(y)
}
})
를 Lumo로 타입 검사할 수 있게 되었다. sub1이라는 이름을 붙일 수 있는 함수다.
2 people reacted.
Uncertified Quasi-pseudo dev
Hi, I'm who's behind Fedify, Hollo, BotKit, and this website, Hackers' Pub! My main account is at
@hongminhee洪 民憙 (Hong Minhee)
.
Fedify, Hollo, BotKit, 그리고 보고 계신 이 사이트 Hackers' Pub을 만들고 있습니다. 제 메인 계정은:
@hongminhee洪 民憙 (Hong Minhee)
.
Fedify、Hollo、BotKit、そしてこのサイト、Hackers' Pubを作っています。私のメインアカウントは「
@hongminhee洪 民憙 (Hong Minhee)
」に。