On Wednesday, February 11, 2015 6:41 PM, John van Groningen 
<[email protected]> wrote:
   

 On 11-2-2015 5:39, Lambda WB wrote:
> Hi,all:  I use Linux. So I want to know how to compile clean source file on 
> linux.Example:square.icl    module square
>      Square :: Int ->  Int    Square x = x * x
> then i compile this file with:clm square.icl
> then result this message:Compiling square.icl
> Can't find square.icl.icl
> then i add a square.dcl file like this:  Square :: Int ->  Int ;
>
> compile again use:clm square.icl
> show the same message to me as first usage.
> How to compile source file with clm?(*.icl&  *.dcl compile to *.abc etc.. 
> these i know)
> Please help me, Thanks!

clm expects the name of the module, not the name of the file. So use:

clm square

Kind regards,

John van Groningen
___________________________
Thanks!!!! John.I knew it now.



   
_______________________________________________
clean-list mailing list
[email protected]
http://mailman.science.ru.nl/mailman/listinfo/clean-list

Reply via email to