Comments (11)
Thanks, I have a fix for this. Exposed a fundamental flaw when setting attributes... it wasn't adding to the trail.
~/trealla (devel) $ tpl
?- member(A,Z), freeze(B,B), B=!, writeq(A/Z/B).
_0/[_0|_4]/ ! Z = [A|_A], B = !
; _0/[_5,_0|_7]/ ! Z = [_A,A|_B], B = !
; _0/[_5,_8,_0|_10]/ ! Z = [_A,_B,A|_C], B = !
; _0/[_5,_8,_11,_0|_13]/ ! Z = [_A,_B,_C,A|_D], B = !
;
~/trealla (devel) $ scryer-prolog
?- member(A,Z), freeze(B,B), B=!, writeq(A/Z/B).
_1923230/[_1923230|_1923613]/! Z = [A|_A], B = !
; _1923230/[_1923612,_1923230|_1923616]/!Z = [_A,A|_B], B = !
; _1923230/[_1923612,_1923615,_1923230|_1923619]/!Z = [_A,_B,A|_C], B = !
; _1923230/[_1923612,_1923615,_1923618,_1923230|_1923622]/!Z = [_A,_B,_C,A|_D], B = !
; ... .
?-
~/trealla (devel) $
from trealla.
from trealla.
Who is the brain behind freeze.pl? Maybe there can be found a hidden vivacious idea.
from trealla.
from trealla.
?- append([B],[B],B),B=!.
false.
?- append([B],[B],B), freeze(B,B), B=!.
Segmentation fault (core dumped)
from trealla.
v2.1.0
?- append([B],[B],B), freeze(B,B), B=!.
Segmentation fault (core dumped)
Can you try this with scryer, too? I don't have it in use right now.
from trealla.
~/trealla (devel) $ tpl
?- append([B],[B],B), freeze(B,B), B=!.
error(type_error(callable,[[[_82,_83],[_82,83]],call]),maplist/2).
~/trealla (devel) $ scryer-prolog
?- append([B],[B],B), freeze(B,B), B=!.
error(type_error(callable,[...,...]),call/1).
?-
~/trealla (devel) $
from trealla.
Great! Thank you.
from trealla.
from trealla.
?- freeze(A,B=b),freeze(B,A=a), freeze(C,D=d), C=go, freeze(D,B=b), frozen((A,B,C,D),X),writeq(A/B).
a/b A = a, B = b, C = go, D = d, X = true.
from trealla.
from trealla.
Related Issues (20)
- Segmentation Dump with NOFFI=1 NOSSL=1 NOTHREADS=1 ISOCLINE=1 Enabled HOT 1
- arg/3 + string weirdness HOT 2
- freeze/2 not playing well with negation HOT 6
- Module visibility for attributes incorrect? HOT 2
- Callligraphic script not unparsed like it is parsed?
- matrix: mat_lup_det/2 segfault HOT 4
- Apropos reading/writing. Trying to read from a named pipe: HOT 4
- Loading nonexistent shared lib should be an error HOT 10
- GSL: Error handling HOT 4
- GSL: matrix no-size (0x0) segfault HOT 4
- GSL: Info+Question HOT 14
- Support CLP(B) HOT 10
- Superflous parenthesis for fy mode HOT 3
- GSL: wrong sized matrix segfault
- GSL: library/gsl.pl hard-coded size
- GSL: result inoperative HOT 12
- pl_yield_at can cause some undesirable side effects HOT 10
- getting answers that are just a variable HOT 7
- [] not an atom that can be used as an operator HOT 10
- GSL: Bugs HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trealla.