Skip to content

Instantly share code, notes, and snippets.

class Wren {
construct new() {
var a = 0
_list = [1,2,3].map{|i|
a = a + 1
return a
}
}
printList() {
@echo off
IF "%1" == "" (
echo %cd% >> %userprofile%\_k
) ELSE (
IF "%1" == "ls" (
type %userprofile%\_k
exit /B
)
@Alligator
Alligator / 0-README.md
Last active February 2, 2021 12:28
palindrome permutations

This uses generator functions to generate permutations on demand.

The typescript is the original, the js version is just the compiled typescript.