tags 499328 confirmed upstream moreinfo
thanks

Gwern Branwen wrote...

> There are a couple heuristics that 'file' could use to detect Haskell files:
(...)

I like that list, it should provide enough stuff to create good
patterns. Since my knowledge of Haskell is rather limited (but I wrote
some programs in Miranda many years ago), can you recommend a package
of very typical Haskell sources (there is no such thing as typical
sources, I know) so I can do tests?

Just one thing:

> - And of course, Haskell files are usually suffixed .hs or .lhs, while
> Java files are more usually .java

That one will not work, file(1) is completely filename agnostic.

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to