[Grace-core] [Minigrace] minor nits - should imports be inherited

Michael Homer mwh at ecs.vuw.ac.nz
Mon Dec 2 20:00:01 PST 2013


On Tue, Dec 3, 2013 at 4:31 PM, James Noble <kjx at ecs.vuw.ac.nz> wrote:
>> For displaying I could go with display or show.  Haskell uses "show" and it seems quite natural.  I agree that print no longer makes any sense.
Haskell doesn't use "show"; show is roughly equivalent to
asDebugString. It generally uses putStrLn, which isn't really an ideal
name. show is quite an unnatural one for what it does.
> I'd quite like show (or display, or inspect, or debug)  to do stuff graphically.
>
> that's different from "print" which prints to a default textual output stream
Yes.
-Michael


More information about the Grace-core mailing list