Commit Graph

5 Commits (a1fa583294f728798657f8ae74f7a6e843347496)

Author SHA1 Message Date
Ben Moon a1fa583294 Update items attribute to be the shuffled items
More useful than just returning the items.
2016-05-20 11:39:08 +01:00
Ben Moon 777c661d9b Turn off caching
Whoops - we don't want to cache random results!
2016-05-20 11:35:04 +01:00
Ben Moon 07dc434bf8 Ensure no triggering on empty remainder 2016-05-14 17:15:45 +01:00
Ben Moon ba3c840566 Ensure we don't trigger if we've nowt to shuffle
shuffle xs | length xs <= 1 = xs forall xs

That says it all.
2016-05-14 17:11:50 +01:00
Ben Moon 775c1e0f49 Add Shuffle Instant Answer
Allows shuffling of random inputs (mainly lists).
2016-05-14 17:10:31 +01:00