Closed robrix closed 9 years ago
For example, to parse a number n followed by n characters, you can do something like:
let number = (%("0"..."9"))+ --> { strtol("".join($0), nil, 10) } let nAndNCharacters = number >>= { any * $0 }
For example, to parse a number n followed by n characters, you can do something like: