Re: Welcome Mark as new co-maintainer

2014-05-27 Thread Noah Lavine
I have only been a lurker for a while now, but I've seen how much excellent work Mark has put into Guile. This is a very well-deserved honor. Congratulations! On Tue, May 27, 2014 at 11:38 PM, David Pirotte wrote: > Le Tue, 27 May 2014 23:34:32 +0200, > l...@gnu.org (Ludovic Courtès) a écrit :

Re: Emacsy: Context Sensitive Commands Design Question

2013-08-29 Thread Noah Lavine
Hello, This is a really interesting question. 2 seems like the best combination of elegant and simple to me, but really it's your preference. I wonder what other Guilers think. Best, Noah On Thu, Aug 29, 2013 at 4:57 PM, Shane Celis wrote: > Hello guilers, > > I'm developing Emacsy[1], and

Re: Are `eqv?' and `eq?' the same?

2013-08-25 Thread Noah Lavine
Hello, eq? and eqv? are sort of a funny pair. eqv? actually has sensible semantics - if two things are eqv?, then a normal scheme program should never notice the difference between them (they are operationally equivalent). eq? is defined not in terms of Scheme, but in terms of Scheme's implementat

Re: Emacsy v0.1.1 release - with a bare bones web browser

2013-07-23 Thread Noah Lavine
This is great! Thank you very much for working on Emacsy. I'm really excited to see what people build with it. Best, Noah Lavine On Tue, Jul 23, 2013 at 3:00 PM, Shane Celis wrote: > Hi Guilers, > > I'm working on a Google Summer of Code project Emacsy, an embeddable >

Re: Guile-Emacs update

2013-07-20 Thread Noah Lavine
s and regular Emacs (if any)? Are there any things that don't work, or any performance regressions? Best, Noah Lavine On Sat, Jul 20, 2013 at 7:54 PM, BT Templeton wrote: > Hello all, > > I've pushed several significant changes to the public Guile-Emacs > repository at &

Re: Request for help Qt, C++ and guile REPL.

2013-06-20 Thread Noah Lavine
It seems to me that the right way to handle this is to evaluate the Scheme code in a different thread than the user interface, then have the interface continually pull from Scheme's output port. The other way to do it would be to notice if the Scheme code is a `begin' or similar form and execute t

Re: GSoC: Guile-Emacs + Emacsy

2013-06-03 Thread Noah Lavine
This is great news! I'm glad to hear about both of these projects. Please do send updates to the mailing lists as they progress! Thanks, Noah On Tue, May 28, 2013 at 8:10 AM, Ludovic Courtès wrote: > Hello Guilers & Emacsers! > > I’m pleased to announce that there will be two Guile-related pro

Re: guile-json 0.2.0 released

2013-04-05 Thread Noah Lavine
Hello, On Fri, Apr 5, 2013 at 5:35 AM, Daniel Hartwig wrote: > > On 05/04/2013 10:47 AM, "Noah Lavine" wrote: > > Although hash tables in general do include arbitrary procedures, in > Guile's implementation there are only three to choose from, so it should be &

Re: guile-json 0.2.0 released

2013-04-04 Thread Noah Lavine
Hello, I haven't thought about this whole email, but I disagree with this part of your response: On Thu, Apr 4, 2013 at 8:17 PM, Daniel Hartwig wrote: > Hash tables are not just a set of (key, value) pairs, they also > include the particular hash and equality procedures that are used with > the

Re: On procedures within procedures

2013-04-03 Thread Noah Lavine
I often write things the way you do. I find that it's easier to test if I can get at as many procedures as possible from the REPL (but maybe I'm not very Schemey either). I also find it harder to read procedures declared in let blocks sometimes because they make the flow of control jump around on t

Re: What's the plan of Guile on GSoC 2013?

2013-03-07 Thread Noah Lavine
Hi, On Thu, Mar 7, 2013 at 11:29 AM, Ludovic Courtès wrote: > So, ideas? :-) > How about continuing the Emacs-Guile integration? I would be really excited to finally see that happen. Noah

Re: on coding a portable R6RS package supporting Guile and its FFI

2013-02-06 Thread Noah Lavine
On Wed, Feb 6, 2013 at 3:36 AM, Andy Wingo wrote: > On Tue 05 Feb 2013 20:29, Noah Lavine writes: > > Smob mark procedures are still supported. Changing the GC would be > quite difficult -- we would need to progress to the point that we had > significantly less C. That would b

Re: on coding a portable R6RS package supporting Guile and its FFI

2013-02-05 Thread Noah Lavine
Hello, That does sound very useful. The only thing that makes me worried is On Tue, Feb 5, 2013 at 12:38 PM, Andy Wingo wrote: > On Thu 17 Jan 2013 11:53, Marco Maggi writes: > > The other Scheme implementations using a non-compacting > > garbage collector > Do we want to guarant

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Noah Lavine
number that (atan 0 -1) returns. Noah Lavine

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Noah Lavine
le-user)> (atan 0 -1) $7 = 3.14159265358979 scheme@(guile-user)> (= 3.14159265358979 (atan 0 -1)) $8 = #f scheme@(guile-user)> (= $7 (atan 0 -1)) $9 = #t It might be possible to have Guile print more digits and make this problem go away. Noah Lavine On Thu, Jan 31, 2013 at 5:50 AM, Hen

Re: [ANN] the Guile 100 Programs Project

2013-01-30 Thread Noah Lavine
time coming up and the project sounds fun to try, but you won't be adding another contributor to Guile if I am chosen. :-) Thanks, Noah Lavine On Wed, Jan 30, 2013 at 6:04 PM, Mike Gran wrote: > Hello. I'm pleased to announce the upcoming Guile 100 Programs > Project. >

Re: compile error on FreeBSD 9

2013-01-29 Thread Noah Lavine
I suspect that libgc 7.1 is too old. But it's true that Guile's build system should detect that. Noah On Tue, Jan 29, 2013 at 7:27 PM, z_axis wrote: > pkg_info -W /usr/local/lib/libgc.so >> > /usr/local/lib/libgc.so was installed by package boehm-gc-7.1 > > pkg_info -Qx boehm-gc-7.1 >> > bo

Re: Loading a module before and after adding a load path

2013-01-18 Thread Noah Lavine
Hello, I see what you are trying to do, and I agree that it should be possible. I have set up the same situation as you: trying to load a module, failing, adding it to my path, trying again, and failing again. Here's what I've figured out: - resolve-module fails on the module, when I think it sho

Re: Is apply procedure not tail recursive?

2013-01-16 Thread Noah Lavine
think you've hit a different issue. Noah Lavine On Wed, Jan 16, 2013 at 6:34 PM, Akop Pogosian wrote: > (define (zeros n) > ;; Make list of n zeros > (define (zeros-iter n lst) > (if (= n 0) > lst > (zeros-iter (- n 1) > (c

Re: GNU Guile community in google+

2012-12-18 Thread Noah Lavine
Hello, I don't entirely understand what everyone here wants, but there are reasons besides company control to avoid proprietary networking sites like Google+. Since it will never be the case that all Guilers have an account on Google+ (or Facebook, or whatever else), a group there could only ever

Re: Getting Guile 2.0.x onto Fedora

2012-11-18 Thread Noah Lavine
Hello, On Sun, Nov 18, 2012 at 1:40 PM, Mike Gran wrote: > > I intend to, but, where to begin? I'll try contacting some > of the projects on their fora to see if I can lend a hand. > Thanks a lot! That would be a great thing for Guile. > But first I thought I see if this thread here would yie

Re: how to decode uri containing non-ascii characters?

2012-11-02 Thread Noah Lavine
It may be that Guile is decoding it correctly, but your terminal program is unable to display the characters. At least, I often see '?' in place of characters that my terminal can't display. I'm not sure how to test this right now, though. Noah On Fri, Nov 2, 2012 at 8:43 AM, Kejia柯嘉 wrote: >

Re: escaping characters

2012-11-01 Thread Noah Lavine
This is related to what ttn said, but I am a bit confused by the request. Normally when you read *in* something like LaTeX source, you convert \\ to \, and similar things. Then when you write *out* LaTeX source, you might convert \ to \\. This is useful if, for instance, you want Guile to automatic

Re: Typed Guile?

2012-09-19 Thread Noah Lavine
It entirely depends on the typed language. Anything that can compile to a C-compatible binary should be usable. I believe that Haskell can do that. You have to explicitly write what the C entry points are going to be, which might be tedious, but I think it's for the best anyway. See http://www.has

Re: Typed Guile?

2012-09-18 Thread Noah Lavine
als to know whether Guile will give you the performance you want. But Guile can be extended in C, so you have the option to go as fast as you want. That's the best I can do without knowing more about your library. Thanks, Noah Lavine On Tue, Sep 18, 2012 at 10:06 PM, wrote: > Hi, >

Re: guildhall packages

2012-08-26 Thread Noah Lavine
Hello, On Sun, Aug 26, 2012 at 5:29 PM, Ludovic Courtès wrote: > Ian Price skribis: >> If you think was a useful email, I can post a periodic update on new >> packages and/or provide an atom feed for them. If not, I'll shut up :) > > I like the updates, keep up the good work! :-) I also apprec

Re: ERROR: Wrong number of arguments to #

2012-07-11 Thread Noah Lavine
The error you are writing about is right here: >> function definition >> (define (eps-func p) >>(let* ((p (lattice->cartesian)) <-- >> (x (vector3-x p)) >> (y (vector3-y p)) >> (z (vector3-z p))) >> (if (> sin(* 2 pi x y z) 0) >>

Re: http-post

2012-05-09 Thread Noah Lavine
Hello, > To write a test for http-post, I thought I'd model it on a test for > http-get.  However, there isn't one - 'http-get' doesn't appear > anywhere in test-suite/ (on master branch as of 4105f).  'run-server' > isn't in there either.  So is a test needed for all of these?  Perhaps > somethin

Re: http-post

2012-04-26 Thread Noah Lavine
Hello, Thanks for sending it in! And sorry for the slow response. If you'd like to have it added to Guile, we'd love to have it in here. The one other thing we'd like is tests for this code. There are examples in test-suite/tests/web-http.test. If you want, you can also write a git log entry to

Re: crash in guile-sqlite3

2012-04-26 Thread Noah Lavine
> I use it daily and it's working allright. > I'd have a closer look to the libffi you used to compile guile > if I were you. What version of Guile do you use it with? Just curious if it's different than 2.0.2 or 2.0.5.

Re: read-header procedure of (web http) module has a bug?

2012-04-24 Thread Noah Lavine
>> > Oh, another one; each procedure call of the same level is legal on other >> > language like Chicken? I'm confused. >> >> Yes, I think this should be legal in all Scheme implementations, >> including Guile and Chicken. > > > Very confused; I saw many compile errors and it disappeared after > re

Re: read-header procedure of (web http) module has a bug?

2012-04-24 Thread Noah Lavine
Hello, > I see. You mean the procedures of the same level can call each other. Right? Yes, that's right. And procedures at one level can always call to procedures at a higher level, but not the other way around. > I have another question; What if the macro case? > Suppose there is a procedure to

Re: read-header procedure of (web http) module has a bug?

2012-04-24 Thread Noah Lavine
Hello, That's actually perfectly legal. The procedure definitions at the top level of a module can all call each other. (This also applies to all of the procedures inside a 'let' or similar.) Noah On Tue, Apr 24, 2012 at 7:09 PM, Sunjoong Lee wrote: > Hello, > > I wonder I found a bug; > read-

Re: SRFI-64 implementation for Guile 2.0

2012-04-19 Thread Noah Lavine
Hello! I'm a bit confused by this conversation. Do you want to merge this code into Guile, or into the reference implementation of SRFI 64? If it's into Guile, I can't speak for the maintainers, but I think we would love to have it. We do like supporting SRFIs. Thanks, Noah On Sun, Apr 15, 2012

Re: GSOC Advice

2011-04-04 Thread Noah Lavine
Hello, Thanks for the advice! I am in America (in the Eastern Time Zone, to be precise). I'm a relatively new committer, which is why I haven't been advertising for people to mentor, but I would be happy to help with anything I could. Noah On Mon, Apr 4, 2011 at 5:50 PM, Phil wrote: > If anyon

Re: Guile and C++

2010-05-14 Thread Noah Lavine
s you > like. > > obj. > > ------ > From: "Noah Lavine" > Sent: Thursday, May 13, 2010 8:53 PM > To: > Subject: Guile and C++ > >> Dear Guile-users, >> >> I am wondering what the best way is to co

Guile and C++

2010-05-14 Thread Noah Lavine
. However, I don't see any mention of it in the Guile documentation. Does Guile come with the ability to use C++ code, or should I plan on writing C wrappers for any functions I want to use? (I'm planning on using Guile 2.0, if that makes a difference.) Thank you Noah Lavine