Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to organize files in Haskell programs?

I've just started playing around in Haskell. After years of Ruby, I got used to a file organization that's used by Ruby on Rails or Rugui.

Are there any guidelines, best practices, or maybe even frameworks about file-organization in Haskell programs?

("Learn you a Haskell" & "Real World Haskell" don't really handle this issue.)

like image 895
davidbe Avatar asked Sep 10 '09 12:09

davidbe


1 Answers

haskell.org defines two file and directory layouts that may be helpful, along with some tool guidance.

  • A minimal project layout is based on Hnop.
  • A larger-scale structure for bigger projects.
like image 136
ire_and_curses Avatar answered Sep 22 '22 06:09

ire_and_curses