Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] "Go Considered Harmful"
- Date: Wed, 2 Sep 2020 23:25:38 +0900
- From: "Curt J. Sampson" <cjs@example.com>
- Subject: Re: [tlug] "Go Considered Harmful"
- References: <20200831060403.bbisgyntkoqmhtnk@logarithmic.cjs.cynic.net> <24397.4.354556.630827@turnbull.sk.tsukuba.ac.jp> <20200831171027.4d3jbxefkczumgnz@iambic.cynic.net> <24398.34705.508876.43187@turnbull.sk.tsukuba.ac.jp> <20200902032052.c6trw45pkb6gizaz@iambic.cynic.net> <CAFv52OC=9M9Cf2nP_3K6HjbXhavwn1dmsedDwgKL2YLH4GekMA@mail.gmail.com> <20200902054202.qhfw6qbvioknhtnj@iambic.cynic.net> <CAFv52ODmPrjNWhv=Jb0jCyKzeNzmC=z0ZUc2nYZpcAZQ9ngtnQ@mail.gmail.com> <20200902093757.svg2xq65mxifbwrx@iambic.cynic.net> <CAFv52OCDhzXHk-PvopEEQYJERMBhVc-Ssw-TMGpaiyDjySOW8g@mail.gmail.com>
- User-agent: NeoMutt/20170113 (1.7.2)
On 2020-09-02 14:36 +0200 (Wed), Josh Glover wrote: > For me, trying to write code without a REPL feels like I have one > hand tied behind my back. But GHC includes a REPL! I used to use it almost constantly. It's particularly handy for inferring and telling you types. You don't even need to run the compiler when loading new versions of modules; GHCI will use the compiled versions of modules when they're available and up to date, but modules with a source file newer than the compiled version will be interpreted. (After a quick look at my ~/.ghci file, I recall now that I was probably running tests more often in the REPL than using the compiler when deep in work on a particular module: I have a `test` command there that reloads the currently selected module (presumably containing the tests; this would trigger reloads of any dependencies) and runs the unit test function. cjs -- Curt J. Sampson <cjs@example.com> +81 90 7737 2974 To iterate is human, to recurse divine. - L Peter Deutsch
- Follow-Ups:
- Re: [tlug] "Go Considered Harmful"
- From: Josh Glover
- References:
- Re: [tlug] "Go Considered Harmful"
- From: Curt J. Sampson
- Re: [tlug] "Go Considered Harmful"
- From: Stephen J. Turnbull
- Re: [tlug] "Go Considered Harmful"
- From: Curt J. Sampson
- Re: [tlug] "Go Considered Harmful"
- From: Josh Glover
- Re: [tlug] "Go Considered Harmful"
- From: Curt J. Sampson
- Re: [tlug] "Go Considered Harmful"
- From: Josh Glover
- Re: [tlug] "Go Considered Harmful"
- From: Curt J. Sampson
- Re: [tlug] "Go Considered Harmful"
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] "Go Considered Harmful"
- Next by Date: Re: [tlug] "Go Considered Harmful"
- Previous by thread: Re: [tlug] "Go Considered Harmful"
- Next by thread: Re: [tlug] "Go Considered Harmful"
- Index(es):