The standard math library is a natural, easy gateway; a simple preprocessor
could do it. maybe i'll prototype  it.

On Tue, Jul 7, 2020 at 4:43 AM Brian Candler <b.cand...@pobox.com> wrote:

> On Tuesday, 7 July 2020 01:46:48 UTC+1, Kurniagusta Dwinto wrote:
>>
>> > i would value "pure" if it were a contract for early evaluation
>> does this "early evaluation" concern about IO? like loading blob data
>> with ioutil.ReadFile into global variable at compile time?
>>
>
> I think by definition, any function which accesses the filesystem is not
> pure, since it depends on external state (the state of the filesystem).
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/94ca32bc-bc07-4ca5-93ef-57a4d7327387o%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/94ca32bc-bc07-4ca5-93ef-57a4d7327387o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

*Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>*

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CALoEmQxpwpbJE1SZ4hV_7EKTGBEaH%3DFHLs4xKQmVft4ddxuBdA%40mail.gmail.com.

Reply via email to