[Grace-core] [Minigrace] minor nits - should imports be inherited
Kim Bruce
kim at cs.pomona.edu
Mon Dec 2 22:17:48 PST 2013
On Dec 2, 2013, at 8:00 PM, Michael Homer <mwh at ecs.vuw.ac.nz> wrote:
> 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.
Yes, my mistake, show basically converts a data item to a string, which is not very intuitive. However I continue to like show or display. I am happy to hear suggestions for something more intuitive!
>> 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