Why wouldn't it work in the REPL? It means "paste the contents of this file here".
On Fri, May 8, 2015 at 3:46 PM, Bob Nnamtrop <[email protected]> wrote: > > include is just about splitting a single file into multiple pieces > > Ok. But then why does include work at the REPL prompt? What is the > difference between include and reload? I really think there are too many > ways to do the same thing. > > Bob > > On Fri, May 8, 2015 at 11:58 AM, Stefan Karpinski <[email protected]> > wrote: > >> Conceptually, they are quite different: >> >> - using/import/require are for acquiring "shared resources" – i.e. >> modules that different bits of code might all independently want to use. >> - include is just about splitting a single source file into multiple >> pieces. >> >> Not sure if that helps. >> >> On Fri, May 8, 2015 at 1:28 PM, Jack Minardi <[email protected]> wrote: >> >>> Thanks guys. I guess I thought only require didn't load twice as it is >>> specifically mentioned in the doc string. >>> >> >> >
