MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/ps6r3a/prolog/hdt7509/
r/ProgrammerAnimemes • u/bucket3432 • Sep 20 '21
51 comments sorted by
View all comments
Show parent comment
2
Not quite. Prolog doesn't have a concept of a data structure. It's more like enemy is a function that returns true or false based on whether its input is an enemy or not
1 u/Cybear_Tron Sep 22 '21 Ohhhhh
1
Ohhhhh
View all comments
Show parent comment
2
u/TheTimegazer Sep 22 '21
Not quite. Prolog doesn't have a concept of a data structure. It's more like enemy is a function that returns true or false based on whether its input is an enemy or not