let ... and ... and ... in
可能な場合はネストされたものよりも使用したいlet
のですが、通常のlet構文では、相互に依存する式に対してこれを許可していません。
禁止されている:
let encrypt password =
let seed = int 16
and keys = xlat seed (length password)
and plaintext = map code (explode password) in
map2 logxor plaintext keys
OCamlにはLispと同等のものがlet*
ありますか?これはこれを可能にしますか?