mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-14 19:39:47 +03:00
4 lines
140 B
Plaintext
4 lines
140 B
Plaintext
|
let mapping = ['A' .. 'Z'] <<< 13
|
||
|
let mapped c = if (('A' <= c) && (c <= 'Z')) then (mapping @ (c - 'A')) else c
|
||
|
:sat \x -> mapped x == 'N'
|