[racket-users] Re: Hidden a list

2016-04-19 Thread Héctor Mc
I followed the recommendation with hash tables and used a struct to wrapping the data. I will check this code and will look the efficiency. Thanks for the time. Héctor. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from

[racket-users] Re: Hidden a list

2016-04-13 Thread Héctor Mc
I understand that struct is not collections of key-value, in the code appear in this way for reference, even label. The problem that I have is in the macro set-s in the formation of the accesors to fields of structure. This generates (set-usuario-key! ..) instead of (set-usuario-nom! ..) into

[racket-users] Re: Hidden a list

2016-04-12 Thread Héctor Mc
Thanks, This start because I need a syntax like the next: (define u (make-s user (nom ape sexo)) (set-s u ((nom "nom" ) (ape "ape"))) (get-s u 'nom) u ; --> '((nom "nom") (ape "ape") (sexo "")) And I start using lists but I can't hidden. From there I changed to a struct but now I get this

[racket-users] Hidden a list

2016-04-11 Thread Héctor Mc
Hello guys, There any way to hide the contents of a list as does the structure? (define lst (list "abc" 123 (+ 12 32))) lst ; --> '("abc" 123 44) something like # (define-struct user (nom ape)) (define u (make-user "nom" "ape")) user ; --> # u ; --> # -- You received this message because you

[racket-users] regexp-match? problem

2016-03-11 Thread Héctor Mc
Hey, I have this problem, I want filter values from DPTO1 to DPTO99 (DPTO is a word with letter O not zero) but I don't get that. with #rx mark error/false with DPTO2, DPTO3, etc but with DPTO111, DPTO100 is good. with #px all is true for both DPTO222 or DPTO12. How filter this range correctly.

[racket-users] Test request

2016-01-05 Thread Héctor Mc
Hey guys I'm proving this app and I will be grateful if can help me with new ideas or evaluate it. I create a serie of videos that show your functions and objetive. Exist a survey that you can respond, it is in http://goo.gl/forms/jsNIgRvdr8 together with the videos. Not is problem if you

[racket-users] Independent data structures

2015-12-21 Thread Héctor Mc
Hey guys, I have a big problem, when I started this project I completely ignored split the data for each user, and the results of that is the manage of one user for time, really bad. Now I try resolve this and all ideas result very dificult (at least in code). I can resolve a part of this

[racket-users] Re: racket execution

2015-12-04 Thread Héctor Mc
Hi Asumu, Thanks for reply, the project is in https://github.com/hmcab/anauj.git , and the server run from generacion-datos/codegen.rkt on the bottom the file. Read the readme file before the execution. At this time I have the application on amazon server to prove it, but every time that I

[racket-users] Re: racket execution

2015-12-04 Thread Héctor Mc
El jueves, 3 de diciembre de 2015, 21:22:01 (UTC-5), Héctor Mc escribió: Finally I could create a subsystem initialization script in /etc/init.d and the symbolic link with update-rc.d, and now this work. Thanks a everyone for your time. -- You received this message because you are subscribed

[racket-users] racket execution

2015-12-03 Thread Héctor Mc
Hey guys! I'm trying execute a web application in background or (like daemon ej. apache/httpd) in this way racket -t webapp.rkt or racket -t webapp.rkt & , but none of them work. I also tried with raco exe codegen.rkt and then ./codegen & but without good results. Is something with the

[racket-users] little problem with comma (unquote)

2015-05-14 Thread Héctor Mc
Hi for all I'm trying generate a function from other function, in this case is a little part of it (expression) that need print a comma within it. In the example show below need print the comma before (embed/url ,f). that is say ,(embed/url insertar-empleado) but is something I can't to make.

[racket-users] Re: little problem with comma (unquote)

2015-05-14 Thread Héctor Mc
Perfect, work. Thanks. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit

[racket-users] Re: Code Generation

2015-04-14 Thread Héctor Mc
Work! thanks. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit

[racket-users] Re: Code Generation

2015-04-14 Thread Héctor Mc
El martes, 14 de abril de 2015, 18:08:19 (UTC-5), Héctor Mc escribió: Hey community In advance sorry for the english, don't speak the language. I'm student and begin to work the thesis and chose to do it in racket. It's about a code generator of web aplications (prototype). The problem

[racket-users] Code Generation

2015-04-14 Thread Héctor Mc
Hey community In advance sorry for the english, don't speak the language. I'm student and begin to work the thesis and chose to do it in racket. It's about a code generator of web aplications (prototype). The problem that I have is when want write/convert generated code in string for after save