Sep 27
Steve Piercy - Website Builder how to reload a method whose signature is redefined
Sep 27, 2014; 15:01
Steve Piercy - Website Builder
how to reload a method whose signature is redefined
During rapid development, I often try to refine my method
signatures to prevent unexpected values getting into the method,
but I run into an issue that takes up too much time. Here's how
to repeat the experience.
Put this in a Lasso file and load it.
[
define m(p) => {
return(#p->type)
}
m('p')
]
// string
Edit the method's signature by adding a type constraint, and
reload the page.
[
define m(p::integer) => {
return(#p->type)
}
m('p')
]
// string
I would like to see an error:
An unhandled failure during a web request
Error Code: -9948
Error Msg: Definition Not Found: m(string) Candidates were: m(p::integer)
Other than restarting the instance where I am developing, are
there any ways to reload the method?
--steve
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy Website Builder Soquel, CA
<web@StevePiercy.com> <http://www.StevePiercy.com/>
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Sep 27
Brad Lindsay Re: how to reload a method whose signature is redefined
Sep 27, 2014; 20:55
Brad Lindsay
Re: how to reload a method whose signature is redefined
Sep 27
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 27, 2014; 19:48
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 28
Brad Lindsay Re: how to reload a method whose signature is redefined
Sep 28, 2014; 11:31
Brad Lindsay
Re: how to reload a method whose signature is redefined
Sep 28
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 28, 2014; 12:45
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 28
Brad Lindsay Re: how to reload a method whose signature is redefined
Sep 28, 2014; 16:39
Brad Lindsay
Re: how to reload a method whose signature is redefined
Sep 28
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 28, 2014; 15:52
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 29
Ke Carlton Re: how to reload a method whose signature is redefined
Sep 29, 2014; 12:40
Ke Carlton
Re: how to reload a method whose signature is redefined
Sep 29
Jolle Carlestam Re: how to reload a method whose signature is redefined
Sep 29, 2014; 01:49
Jolle Carlestam
Re: how to reload a method whose signature is redefined
Sep 29
Ke Carlton Re: how to reload a method whose signature is redefined
Sep 29, 2014; 13:28
Ke Carlton
Re: how to reload a method whose signature is redefined
Sep 28
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 28, 2014; 18:00
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 29
Ke Carlton Re: how to reload a method whose signature is redefined
Sep 29, 2014; 14:07
Ke Carlton
Re: how to reload a method whose signature is redefined
Sep 28
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 28, 2014; 18:21
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 29
Jolle Carlestam Re: how to reload a method whose signature is redefined
Sep 29, 2014; 03:43
Jolle Carlestam
Re: how to reload a method whose signature is redefined
Sep 28
Jonathan Guthrie Re: how to reload a method whose signature is redefined
Sep 28, 2014; 21:54
Jonathan Guthrie
Re: how to reload a method whose signature is redefined
Sep 28
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 28, 2014; 22:15
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 28
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 28, 2014; 22:40
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 29
Brad Lindsay Re: how to reload a method whose signature is redefined
Sep 29, 2014; 08:57
Brad Lindsay
Re: how to reload a method whose signature is redefined
Sep 29
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 29, 2014; 10:19
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 29
Brad Lindsay Re: how to reload a method whose signature is redefined
Sep 29, 2014; 14:38
Brad Lindsay
Re: how to reload a method whose signature is redefined
Sep 29
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 29, 2014; 11:46
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined
Sep 29
Brad Lindsay Re: how to reload a method whose signature is redefined
Sep 29, 2014; 14:52
Brad Lindsay
Re: how to reload a method whose signature is redefined
Sep 29
Steve Piercy - Website Builder Re: how to reload a method whose signature is redefined
Sep 29, 2014; 12:19
Steve Piercy - Website Builder
Re: how to reload a method whose signature is redefined