3 ms·
Ok then maybe it's just a matter of taste. I like the parser approach more: import Text.ParserCombinators.ReadP -- or the parser lib of your choice import Dat
by helloTree 13y ago
Ok then maybe it's just a matter of taste. I like the parser approach more:
import Text.ParserCombinators.ReadP -- or the parser lib of your choice
import Data.Char
...
macP = count 16 (satisfy isHexDigit)