Skip to main content

Timeline for Tips for golfing in Prolog

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Apr 16, 2021 at 18:00 comment added Wezl You can also use them for arguments. Example: p(a,_,_). p(A,B,C):- .... => p(a,_). p(A,B+C):- .... to save two bytes.
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Jun 6, 2018 at 15:16 history edited 0 ' CC BY-SA 4.0
improved phrasing
Feb 6, 2018 at 7:32 history edited 0 ' CC BY-SA 3.0
Added info on how this golf can be used with DCGs
Feb 6, 2018 at 4:03 comment added DLosc It's astonishing how useful this trick is for code golf. I just reduced an answer's byte-count by 16% using this tip alone!
Jan 15, 2018 at 15:36 history edited 0 ' CC BY-SA 3.0
Restructured tip to improve clarity
Jan 13, 2018 at 23:04 history answered 0 ' CC BY-SA 3.0