Search code examples
frege

How can I import different modules in frege


Can someone help me with frege equivalent of import command in haskell for Data. I wish to access Data.Typeable or Data.Time.Calendar.....and such modules/inbuilt procedures.

Do we have a way to know the available modules in frege.....like in general if I do "import.frege._" is there any autofill kind of feature or list of some sort suggesting the various options available.

thanks a lot for your time and help


Solution

  • Sorry, none of the modules you want are implemented yet at this time.

    To see what is available follow the link standard libraryon the frege project page.

    Remember that a package name like Data.Typeable is short for frege.data.Typeable hence you would have to look for Typeable.html in subdirectory data.

    There is also no autofill capability yet (in the eclipse plugin).