Re: lens.l - generalized data accessors

2019-05-19 Thread Abel Normand
Thank you very much Guido. It is a nice perspective to show about practical applications for such abstract thing.Best regards, Nail.

Re: lens.l - generalized data accessors

2019-05-19 Thread Guido Stepken
Wonderful! But i fear, most of the audience here hasn't the slightest idea, what it's all about. Let me explain! Maybe, you have already clicked into some graphics in your browser or just used the "onmouseover" functionality. In HTML, everything is repesented in a DOM, that's a tree structure,

Re: lens.l - generalized data accessors

2019-05-19 Thread Abel Normand
Thank you, yeah, I messed up with repo visibility. Now its seems okay. Sent from my BlackBerry — the most secure mobile device   Original Message   From: andr...@itship.ch Sent: 20 May 2019 00:32 To: picolisp@software-lab.de Reply to: picolisp@software-lab.de Subject: Re: lens.l -

Re: lens.l - generalized data accessors

2019-05-19 Thread Guido Stepken
lens.l isn't there, but i found your trie.l quite interesting! https://gitlab.com/Abel-ze-Normand/trie.l/blob/master/trie.l Abel Normand schrieb am So., 19. Mai 2019, 23:08: > Hello everyone. > > I'm happy to present you my last project: > https://gitlab.com/Abel-ze-Normand/lens.l. It is a

Re: lens.l - generalized data accessors

2019-05-19 Thread andreas
Hi Abel It seems your lens.l is a private repository, as the link leads to a gitlab login. I can open https://gitlab.com/Abel-ze-Normand/bloom_filter, but https://gitlab.com/Abel-ze-Normand/lens.l is protected. Looking forward to your lens implementation :) Best regards beneroth Am

lens.l - generalized data accessors

2019-05-19 Thread Abel Normand
Hello everyone. I'm happy to present you my last project: https://gitlab.com/Abel-ze-Normand/lens.l. It is a very nice abstraction from Haskell functional programming community and I wanted to share with you this PicoLisp implementation of Lens pattern and utilities to work with them. I plan to

Re: Strange database behavior

2019-05-19 Thread shshoshin
Thank you Alex! I was just finding out my own syntax errors, but this is helpful to me. I have a young child at home and only get small slices of time to learn PicoLisp. I sent that code in a rush this morning. I will keep experimenting with the language, but I appreciate the help! Being able

Re: Strange database behavior

2019-05-19 Thread Alexander Burger
Hi Grant, > If you don't mind, I am still having a bit of trouble figuring out if my E/R > models are correct, and also if I'm creating objects in the right way. Here's > what I have so far, I'd appreciate any comments or hints! Thank you! > (class +User +Entity) > (rel nr (+Need +Key +Number))

Re: Strange database behavior

2019-05-19 Thread shshoshin
Thanks for the reply! That makes sense, I knew it must have something to do with the b-tree index structure, but have just been following examples and language reference. 'collect and 'select are definitely more appropriate for the exploration I am doing (though I am also curious about the

Re: A quick way to write an http endpoint to handle post body

2019-05-19 Thread Alexander Burger
Hi Mansur, > finally I've found it Cool, thanks! :) Minor note: > (push '*Mimes '(`(chop "json") "application/json; charset=utf-8")) There is a utility 'mime' for that, also in @lib/http.l (mime "json" "application/json; charset=utf-8" 1) It not only pushes new entries, but also

Re: A quick way to write an http endpoint to handle post body

2019-05-19 Thread Мансур Мамкин
Hi again, finally I've found it Sorry, I was in hurry and sent it to wrong place first time :) The same at pastebin: https://pastebin.com/nQVqbrUz # # Mansur Mamkin # httpjson.l adds support for POST-requests with JSON body # (push '*Mimes '(`(chop "json") "application/json; charset=utf-8"))

Re: A quick way to write an http endpoint to handle post body

2019-05-19 Thread Мансур Мамкин
HI all! There is another way, you can make a little patch in http.l in standard library to handle 'application/json' mimetype in POST body. I've tried to find that implementation in my archive, but no success at the moment. I hope I'll find later today On Sat, May 18, 2019 at 8:29 PM C K Kashyap