janet icon indicating copy to clipboard operation
janet copied to clipboard

Rosetta Code Examples

Open bakpakin opened this issue 5 years ago • 7 comments

I've added a Rosetta Code page for Janet, but we still need some more examples. I've added an example for the 100 doors problem, but there are many more examples that can be added.

bakpakin avatar Dec 17 '19 01:12 bakpakin

yay, added one.

andrewchambers avatar Jan 12 '20 22:01 andrewchambers

Added a TCO one for factorial recursive

ahungry avatar Jul 01 '20 21:07 ahungry

Added a bubble sort implementation.

Thanks @ahungry for taking a look.

sogaiu avatar Apr 28 '21 11:04 sogaiu

Added 100 prisoners.

MorganPeterson avatar Oct 10 '21 00:10 MorganPeterson

I've done a couple more: caesar cipher and one of the arrays.

I'm going to keep doing more because it is helping me learn the language. If there are any requests, let me know.

MorganPeterson avatar Oct 10 '21 23:10 MorganPeterson

Nice!

Do you have a link for the other one you added? This one doesn't look quite right as it uses a comma as a separator.

I have some things I haven't added here.

sogaiu avatar Oct 11 '21 07:10 sogaiu

Nice!

This one doesn't look quite right as it uses a comma as a separator.

Thanks for catching that. I've fixed it.

I have some things I haven't added here.

These look great! Thanks for the link.

MorganPeterson avatar Oct 11 '21 10:10 MorganPeterson