-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added servant-0.4 template #52
Conversation
I don't think this works, because of things like It would make sense to organize templates a little more. With autocompletion, this could work rather well. So you type "web/" + TAB and find out all the web templates. |
Related: I've created a servant-postgresql template for servant 0.5 & was wondering about a couple things:
I will make a separate PR when I have some extra time. |
a842107
to
b41ff38
Compare
@mgsloan: I've put the file in the root directory. I've also renamed it to indicate that it uses @prikhi: See a related discussion here: https://groups.google.com/d/topic/haskell-stack/sOI5rY28G3E/discussion |
@prikhi Not really the best place to discuss, I have opened a few issues: |
I'd really prefer a short name. Imagine someone typing this in! We do not have shell autocompletion of template names yet. I'm actually on the wall as to whether it's useful to have templates for specific libraries like this, as described in #55 . I really don't want to start seeing In the meantime I'm happy to merge very library specific templates, but the policy may change. I don't really want the default library creation process to include "make a stack template" |
@mgsloan: That makes a lot of sense. I've renamed it to |
Oops forgot to merge. Thanks! |
This PR adds a slightly bigger template for
servant-0.4
.I put it in a subdirectory, because I thought it would make sense to start to organize the templates a bit, but I don't know if this'll actually work with
stack new
. I can move it to the root dir, of course.