Also see the issue logged here:
https://github.com/JuliaLang/julia/issues/8000

On Fri, May 8, 2015 at 2:19 PM, Stefan Karpinski <ste...@karpinski.org>
wrote:

> help?> reload
> search: reload prevfloat parsefloat
>
> Base.reload(file::AbstractString)
>
>    Like "require", except forces loading of files regardless of
>    whether they have been loaded before. Typically used when
>    interactively developing libraries.
>
> On Fri, May 8, 2015 at 4:13 PM, Bob Nnamtrop <bob.nnamt...@gmail.com>
> wrote:
>
>> OK. But then what is the difference between include and reload?
>>
>> On Fri, May 8, 2015 at 1:54 PM, Stefan Karpinski <ste...@karpinski.org>
>> wrote:
>>
>>> 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 <bob.nnamt...@gmail.com>
>>> 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 <ste...@karpinski.org
>>>> > 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 <j...@minardi.org> wrote:
>>>>>
>>>>>> Thanks guys. I guess I thought only require didn't load twice as it
>>>>>> is specifically mentioned in the doc string.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to