Fork me on GitHub
#core-logic
<
2018-01-09
>
timothypratley02:01:36

Invalid :refer, var cljs.core.logic/permuteo does not exist --- is this expected? (ClojureScript)

noprompt04:01:31

@timothypratley are you able to use permuteo without :refer? i.e. logic/permuteo.

reefersleep09:01:44

I’ve got a hobby project building a Dominion ( https://boardgamegeek.com/boardgame/36218/dominion ) randomizer with a web interface. For those that don’t know Dominion, the purpose of a randomizer is to set up an initial game state by randomly picking 10 piles of cards from those piles available, with a few custom rules occasionally. That task is very simple in and of itself, but I’d like to make it possible for the end user to customize the randomization with certain parameters, like, “less than 5 piles must contain attack cards” and “1 of the piles must be a certain pile” and “more than 2 piles must be victory cards” (and probably more constraints will appear once the possibilities start unfolding 🙂 ). Is core.logic a good fit for something like this?

timothypratley15:01:15

hi @noprompt 🙂 no, I am unable to use permuteo by qualifying it either.

noprompt17:01:37

@timothypratley sounds like you’ve got a bug report to make! 😉