Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
derdi
on Jan 26, 2025
|
parent
|
context
|
favorite
| on:
The Simplicity of Prolog
No built-in is needed for an efficient reverse. It's just one or two lines longer because you need to write a tail-recursive helper with an accumulator, same as in functional languages:
https://stackoverflow.com/a/74777180
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: