Python Forum
Module for procedural generation with hashes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Module for procedural generation with hashes
#6
Version 0.0.2:
https://github.com/UKHomeOffice/python-p....0.2-alpha

I'm thinking of removing the lambda. I'm not using it, and I can no longer see a need for it. I thought it was necessary because my initial stringification mechanism didn't automatically quote strings, so (1,'(2, 3)') would stringify to the same as (1,(2,3)).

Now that I am using the str() function as the default lambda, this is no longer the case - you get (1, '(2, 3)') and (1, (2, 3)) which are distinct.
Reply


Messages In This Thread
RE: Module for procedural generation with hashes - by PhilHibbs - Dec-19-2017, 04:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cute oscillating range generation snippet I saw on irc league55 1 2,809 Mar-26-2018, 04:19 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020