Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
what does - - do in that code
Firstly I have tried to build all expressions by hand and simply add them as throught switch, but I quick understand that build expressoins by hand for numbers larger than 11 is quite impossible :) Great kata, it's my first 1 kyu solved kata. For those who here for searching tips: read about DFA
Thanks for the info, I am not aware of most prolog functions, so I tend to make things harder than they are :)
You could use just internal predicate sum_list/2