You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HAppS
Hi,
Is there a way to export the events/data constructors generated by makeAcidic? I've tried several variations with all but two ending up with anything from an out of scope data constructor to orphaned instance errors.
As it stands now I'm having to take one of two approaches:
- export everything in the module (e.g. "module MyModule where").
- define synonyms for the data constructors generated by makeAcid and export those.
The synonym approach is the best that I've come up with but is ugly and annoying since you have to keep the signature up-to-date if you're going to define a top-level signature for the synonym.
My knowledge of the available options in Haskell seems pretty shaky just now, any help will be appreciated. I know it has to do with template Haskell and when it's run (i.e. after the module declaration.) I've been running in circles and at this point, I expect the solution to be embarrassingly obvious.
Thanks,
Bob
Jeremy Shaw
unread,
May 17, 2013, 2:24:48 PM5/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HAppS
I'm not sure I understand the problem/question. Can't you just do: