Re: Core.logic appendo for string?

2014-05-05 Thread Tassilo Horn
David Nolen dnolen.li...@gmail.com writes: There's no easy way to do this beyond making your own relational string type as you've suggested. FWIW, I had the same need as Adam and the poor-man's solution below is enough for my use-case. --8---cut

Core.logic appendo for string?

2014-05-04 Thread Adam Saleh
Hi, every once in a while I am toying with an idea of doing string manipulation in core.logic. Naively trying to use appendo doesn't really work. As far as I understand, most of the magic, that enables core logic to work with lists is in the type LCons, that holds a sequence with tail that is

Re: Core.logic appendo for string?

2014-05-04 Thread David Nolen
There's no easy way to do this beyond making your own relational string type as you've suggested. On Sunday, May 4, 2014, Adam Saleh adamthecam...@gmail.com wrote: Hi, every once in a while I am toying with an idea of doing string manipulation in core.logic. Naively trying to use appendo