"Loading" modules with SML/NJ ( and other stuff ).

This is a discussion on "Loading" modules with SML/NJ ( and other stuff ). within the ml forums in Programming Languages category; Let me clarify a bit. At the moment I am probing ParserComb by typing in things at the top-level ( well actually, I'm typing in things in an emacs buffer and using sml-send-region, but same difference ). Basically the idea is to just type a few things to see how the module works. > val a=ParserComb.char #"c"; > fun b x=b Substring.getc(Substring.all x); > val e=a b "defgcghjkl"; It also helps if I can do things like ask types. Type of a, type of b etc. -------------------------------------------------- Thaddeus L. Olczyk, PhD Think twice, code once....

Go Back   Application Development Forum > Programming Languages > ml

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-31-2003, 10:16 AM
Thaddeus L Olczyk
Guest
 
Default "Loading" modules with SML/NJ ( and other stuff ).

Let me clarify a bit.
At the moment I am probing ParserComb by typing in things
at the top-level ( well actually, I'm typing in things in an emacs
buffer and using sml-send-region, but same difference ).

Basically the idea is to just type a few things to see how the
module works.
> val a=ParserComb.char #"c";
> fun b x=b Substring.getc(Substring.all x);
> val e=a b "defgcghjkl";

It also helps if I can do things like ask types.
Type of a, type of b etc.



--------------------------------------------------
Thaddeus L. Olczyk, PhD
Think twice, code once.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:17 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.