lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *.mid vs *.midi


From: Hans Aberg
Subject: Re: *.mid vs *.midi
Date: Sat, 17 May 2008 23:17:51 +0200

On 17 May 2008, at 22:52, immanuel litzroth wrote:

Haskell does not "deduce" what to include. You have to explicitly import each module or no magic happens. Can't really see the big difference with #include "stdio.h" and import Unix.

C is composed of two languages: the preprocessor, to which #include belongs, and merely composes the files into one compile unit, and the C compiler, which processes that. So the C language itself does not have any #include directive. This setup makes it impossible for the C language to deduce module dependencies the way Haskell does, which causes the complicated setup of the compiler. And of course, in Haskell, one needs to tell which modules to import.

  Hans






reply via email to

[Prev in Thread] Current Thread [Next in Thread]