Until the stack effect of at* changes, I've been using:
: at? ( key assoc -- value/key ? ) 2dup key? [ at* ] [ drop f ] if ;
On Mon, Feb 2, 2009 at 3:37 PM, Doug Coleman doug.cole...@gmail.com wrote:
Steve,
Yes, I thought of this too and discussed it with Slava. My use case
was:
ERROR:
Nice. I really didn't like that it called at* twice.
On Tue, Feb 3, 2009 at 9:06 AM, Philipp Brüschweiler ble...@gmail.com wrote:
Am Tue, 3 Feb 2009 08:36:25 -0500
schrieb Steve Weeks nbxst...@gmail.com:
Until the stack effect of at* changes, I've been using:
: at? ( key assoc -- value/key
Hi,
I am starting to use operations, very nice these are. Bit hard to
debug however, since everytime I reload my source-file the setup adds
more operations to my presentation. Hence the question: how do I get
rid of already defined operations? More specifically, I would still
like to see those
Mark Koenig wrote:
How far is Factor from a version 1.0?
Slava Pestov wrote:
I can't give you a timeframe, but take a look at
https://concatenative.org/wiki/view/Factor/To%20do for a roadmap. Not
all of these features will be in 1.0, but hopefully we can get most of
them in. With
On Wed, Feb 4, 2009 at 1:27 PM, Eduardo Cavazos wayo.cava...@gmail.com wrote:
It's an important issue for me. The switch to multi-methods is going to
be one of those tectonic shifts in the code base. I'm a little reluctant
to begin a large project if this switch over is around the corner.
I'd
On Tue, Feb 3, 2009 at 6:27 PM, Eduardo Cavazos wayo.cava...@gmail.com wrote:
So here's mine. :-) Whenabouts are you scheduled to make the switch to
multi-methods?
Once I figure out all the design issues involved, mostly relating to
performance. I'm pretty disappointed at how slow Factor's
Eduardo Cavazos wayo.cava...@gmail.com wrote:
And by switch over I mean that single dispatch is totally phased out.
Slava Pestov wrote:
Well multimethods offer a superset of the functionality of single
dispatch, so I'm not sure what you mean by this.
The Factor project has a history of
On Tue, Feb 3, 2009 at 7:16 PM, Eduardo Cavazos wayo.cava...@gmail.com wrote:
The Factor project has a history of moving deprecated features into
extra for folks who haven't switched yet. It's the reverse process of
new features; i.e. new things begin life in extra. Anyways, I hope that
when
Not sure what I'm doing wrong, but the following code makes factor go
a little nuts.
IN: sample
USING: accessors models ;
TUPLE: loc-model model ;
: loc-model ( loc -- model ) loc-model new-model ;
M: loc-model (loc) set-model ;
M: loc-model loc value ;
I get 1900 semantic warnings and