You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found Jelly to be a very cool language but I am extremely confused about how to actually write it. With it being a tacit language, it is radically different from most other languages I've seen and because of this it can be very difficult to initially get into. Some examples with explanations would be extremely useful. Such examples that are usually quite helpful are factorials (recursion and looped versions), Pythagorean theorem (Examples of just doing equations), GCD (quite common and also useful in cryptographic cops & robber challenges), and compute digits of Pi (using Euler's problem).
I think such examples would be very useful and would probably help many more people move towards Jelly as their main golfing language. Thanks!
The text was updated successfully, but these errors were encountered:
fionafibration
changed the title
Add examples for simple things (ie. factorial, Pythagorean theorem)
Add program examples for simple things (ie. factorial, Pythagorean theorem) [Suggestion]
Dec 8, 2017
Factorial: (monadic) RP (no recursion though)
Pythagoras: (monadic, input as a array) ²S½
Pythagoras: (dyadic, not a lot of experience so this is probably not the shortest) ²+ɓ²µ½
GCD (dyadic) : g (not recursive either)
I have found Jelly to be a very cool language but I am extremely confused about how to actually write it. With it being a tacit language, it is radically different from most other languages I've seen and because of this it can be very difficult to initially get into. Some examples with explanations would be extremely useful. Such examples that are usually quite helpful are factorials (recursion and looped versions), Pythagorean theorem (Examples of just doing equations), GCD (quite common and also useful in cryptographic cops & robber challenges), and compute digits of Pi (using Euler's problem).
I think such examples would be very useful and would probably help many more people move towards Jelly as their main golfing language. Thanks!
The text was updated successfully, but these errors were encountered: