Open mnn opened 1 year ago
I am using optics library with OverloadedLabels.
optics
OverloadedLabels
let x = TestRecord {a = "A", b = Nothing} let exp = x ^. #a assertEqual exp [qq|{x ^. #a}|]
error: • 0 SrcLoc "" 1 6 Parse error in expression: x ^. • In the quasi-quotation: [qq|{x ^. #a}|] | 36 | assertEqual exp [qq|{x ^. #a}|] |
I tried various common forms of escaping, but didn't find anything working (\#, \\#, \\\#, ##, ###).
\#
\\#
\\\#
##
###
I am using
optics
library withOverloadedLabels
.I tried various common forms of escaping, but didn't find anything working (
\#
,\\#
,\\\#
,##
,###
).