[10 of 12] Compiling AmountParser ( src/AmountParser.hs, dist/build/AmountParser.o )
src/AmountParser.hs:9:17: error:
• Expecting one fewer arguments to ‘HL.JournalParser Identity’
Expected kind ‘k0 -> k1’,
but ‘HL.JournalParser Identity’ has kind ‘*’
• In the type ‘HL.JournalParser Identity a’
In the type declaration for ‘Parser’
|
9 | type Parser a = HL.JournalParser Identity a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/AmountParser.hs:9:34: error:
• Expecting one more argument to ‘Identity’
Expected a type, but ‘Identity’ has kind ‘* -> *’
• In the first argument of ‘HL.JournalParser’, namely ‘Identity’
In the type ‘HL.JournalParser Identity a’
In the type declaration for ‘Parser’
|
9 | type Parser a = HL.JournalParser Identity a
| ^^^^^^^^