Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Use Template Haskell to generate simple latex commands #72

Closed
NorfairKing opened this issue Dec 8, 2015 · 1 comment
Closed

Use Template Haskell to generate simple latex commands #72

NorfairKing opened this issue Dec 8, 2015 · 1 comment

Comments

@NorfairKing
Copy link
Contributor

For example, everything of the following form could be generated:

section :: LaTeXC l => l -> l
section = comm1 "section"

by this:

comm 1 "section"
@Daniel-Diaz
Copy link
Owner

I'm not enthusiast of adding TH code that is not necessary or really convenient. I don't see anything wrong with the former definition.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants