On Thu, Nov 27, 2008 at 11:34 PM, John Pallister [EMAIL PROTECTED] wrote:
Creativity is great once you've mastered the idiom. Otherwise you
just get bad poetry.
Ed creates the idioms. Many of the idioms in Factor that we use today
stem directly from things that Ed came up with and some of us
Howdy,
A little humor never hurt anyone:
http://i108.photobucket.com/albums/n24/conor_jm92/Bush_doing_it_wrong.jpg
For me, programming is about being creative, not following your rules.
I very much agree with this principle.
Not to mention any example is better than no example. Let's not
In order to show how to draw a gadget with a diferent coordinate
system, I guess It would be nice to abstract the pattern into a word,
something like:
: with-coords ( gadget x1 y1 x2 y2 quotation -- )
... ;
M: sine-gadget draw-gadget* ( SINE -- )
-10 10 -10 10
[ -10 10 0.5 range [ dup sin
Ricardo Boccato Alves wrote:
In order to show how to draw a gadget with a diferent coordinate
system, I guess It would be nice to abstract the pattern into a word,
something like:
: with-coords ( gadget x1 y1 x2 y2 quotation -- )
... ;
M: sine-gadget draw-gadget* ( SINE -- )
-10 10
Ricardo,
The stack effect of the 'ortho*' combinator we ended up with is:
ortho* ( gadget left right bottom top quot -- )
Six inputs is a alot. For me that's usually a signal to look for another
abstraction. The left, right, bottom, and top values seem related. :-)
TUPLE: extent left
Ed,
ortho ( gadget extent quot -- )
It really looks better, maybe you could use rect instead of creating a
new tuple.
[]s,
Ricardo Boccato Alves
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
Hi,
Besides a bug fix, the two patches below provide 'see' fontified output
in the minibuffer (try C-cC-s in a factor buffer) and ElDoc support (try
M-x eldoc-mode in a factor buffer and see what happens when moving
around). Both things need a previous M-x run-factor to start the
listener. I've
The following changes since commit d7587282fd315ae87517c4e85dd94fb040e519b3:
Jose A. Ortega Ruiz (1):
Emacs factor mode: 'see' in minibuffer and Eldoc mode available.
are available in the git repository at:
http://git.hacks-galore.org/jao/factor.git emacs
Jose A. Ortega Ruiz (1):
On Thursday 27 November 2008 18:58:20 Jose A. Ortega Ruiz wrote:
Besides a bug fix, the two patches below provide 'see' fontified output
in the minibuffer (try C-cC-s in a factor buffer) and ElDoc support (try
M-x eldoc-mode in a factor buffer and see what happens when moving
around). Both
Hi Jose,
I'm very impressed with factor.el. I did find a few problems though,
it would make factor.el even nicer to use if they were fixed:
- There should be a command to transmit the current file's
USE:/USING:/IN: forms into the listener. Don't forget about PRIVATE;
that's like USE: my
10 matches
Mail list logo