[Haskell-beginners] Parser using the show method
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Fri Jun 21 13:02:26 UTC 2019
Re-Hello,
is there a way to apply a function to all constructors of this this type ?
Instead of doing this ?
do sg P1
sg P2
sg P21
sg C2
sg P222
sg P2221
sg P21212
sg P212121
sg C222
sg C2221
sg F222
sg I222
sg I212121
sg P4
sg P41
sg P42
sg P43
sg P422
sg P4212
sg P4122
sg P41212
sg P4222
sg P42212
sg P4322
sg P43212
sg I4
sg I41
sg I422
sg I4122
sg P3
sg P31
sg P32
sg P312
sg P321
sg P3112
sg P3121
sg P3212
sg P3221
sg P6
sg P61
sg P62
sg P63
sg P64
sg P65
sg P622
sg P6122
sg P6522
sg P6222
sg P6422
sg P6322
sg R3
sg R32
sg P23
sg P213
sg P432
sg P4232
sg P4332
sg P4132
sg F23
sg F432
sg F4132
sg I23
sg I213
sg I432
sg I4132
More information about the Beginners
mailing list