Re: with-syntax return error in Guile, not in Kawa or Racket

2024-05-11 Thread Jean Abou Samra
> the problem when pre-compiling/pre-computing those lists is that with #' , > i mean syntax, the optimizer-parse-square-brackets-arguments-lister no > more receive  lists but this sort of expression: > > scheme@(guile-user)> (define T (make-vector 7)) > scheme@(guile-user)> {T[2 + 1] <- 7} > <- :

Re: guile-xapian 0.4.0 released

2024-05-11 Thread Arun Isaac
Hi, Thanks, Nala! > I'm not familiar with Xapian, is it possible to do similar things as > VectorDB? I am not very familiar with VectorDB. From what I can tell, Xapian and VectorDB seem to have similar application areas, but Xapian takes a lot simpler and more traditional approach. You can fin

Re: with-syntax return error in Guile, not in Kawa or Racket

2024-05-11 Thread Damien Mattei
i understand the problem i have now in this new version, it is in the features of SRFI 105 : $brackett-apply$ $nfx$ and more that deals with [ ] , infix where i need to parse for operator precedence i have procedure for that: optimizer-parse-square-brackets-arguments-lister it takes a list in inf

Re: define-typed: checking values on proc entry and exit

2024-05-11 Thread Vivien Kraus
Hello! This is an interesting approach, thank you. Le vendredi 10 mai 2024 à 09:47 +0200, Dr. Arne Babenhauserheide a écrit : > │   ;; get the result > │   (let ((res (helper))) > │ ;; typecheck the result > │ (unless (ret? res) > │   (error "type error: return val

custom module loading and compilation

2024-05-11 Thread Paul Jarc
Hi. I'm writing a custom module system that avoids the standard search path and list-of-symbols naming scheme. Instead of using use-modules and define-module, I have a roughly similar procedure, let's call it my-load, that creates a module with make-module and loads a file into it with primitive-