On Tue, Dec 10, 2019 at 09:47:41AM +0000, PICCA Frederic-Emmanuel wrote:
> I have a bunch of files names like this
> I am using attoparsec, I started to write my parser like this
> parseCbfDataFile :: String -> Parser CbfDataFile
> parseCbfDataFile s = do
> prefix <- ????
> string "_data_"
> v <- decimal
> string ".cbf"
> return (CbfDataFile prefix v)
> So my question, is how to I write this parser.