/Users/simon/src/file-embed/Data/FileEmbed.hs:146:21: error:
• Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
• In the expression: LitE $ StringL path
In the first argument of ‘TupE’, namely
‘[LitE $ StringL path, exp']’
In the second argument of ‘($!)’, namely
‘TupE [LitE $ StringL path, exp']’
|
146 | return $! TupE [LitE $ StringL path, exp']
| ^^^^^^^^^^^^^^^^^^^
/Users/simon/src/file-embed/Data/FileEmbed.hs:146:42: error:
• Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
• In the expression: exp'
In the first argument of ‘TupE’, namely
‘[LitE $ StringL path, exp']’
In the second argument of ‘($!)’, namely
‘TupE [LitE $ StringL path, exp']’
|
146 | return $! TupE [LitE $ StringL path, exp']
| ^^^^