Main.hs should not live in src/ #18

Closed
opened 2020-05-19 19:00:32 +02:00 by Hecate · 2 comments

I am opening this issue after our discussion.


Main.hs should not live in src/. The convention in the Haskell community is
to have your library live in src/ and your executable in app/.

Cheers!

I am opening this issue after our discussion. --- `Main.hs` should not live in src/. The convention in the Haskell community is to have your library live in `src/` and your executable in `app/`. Cheers!
schmittlauch self-assigned this 2020-05-19 19:23:45 +02:00

I'll take care of this at the next larger feature branch merge.

Can you point to some examples for this convention? The Main.hs didn't always reside in src/, but I moved it there after looking at other packages (I guess pandoc was one of those).

I'll take care of this at the next larger feature branch merge. Can you point to some examples for this convention? The Main.hs didn't always reside in src/, but I moved it there after looking at other packages (I guess pandoc was one of those).

Yes, Pandoc, with some other high-profile stuff, have always done things "their own way" for quite some time. :)

Regarding more “pedestrian” open-source projects, I can point to mini-lambda, top-apps, causal-haskell.
Unfortunately I can't really point you to the closed-source projects I had the opportunity to work on, so you'll have to believe me on those. :P

Yes, Pandoc, with some other high-profile stuff, have always done things "their own way" for quite some time. :) Regarding more “pedestrian” open-source projects, I can point to [mini-lambda](https://github.com/phipsgabler/mini-lambda), [top-apps](https://github.com/Quid2/top-apps), [causal-haskell](https://github.com/kimolas/causal-haskell). Unfortunately I can't really point you to the closed-source projects I had the opportunity to work on, so you'll have to believe me on those. :P
schmittlauch added this to the 1st round of experiments milestone 2020-06-03 00:54:16 +02:00
Sign in to join this conversation.
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: schmittlauch/Hash2Pub#18
There is no content yet.