This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using static SetSyntax; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| var numbers = Set * 0..5 - 1..3 + 9..20 - 12..15 + 7 - 19; | |
| foreach (int value in numbers) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| freenode/#clojure on 2014-04-21: | |
| amalloy sets 5 to be 2 using reflection, probably in PM with clojurebot: | |
| (let [field (nth (.getDeclaredFields Long) 3)] (.setAccessible field true) (.set field 5 2)) | |
| 19:10 < amalloy> justin_smith: i think ''lovecraft should contain (alter-var-root #'defmacro (constantly (fn [& args] `(quote ~(rand-nth '#{various lovecraftian horrors|))))) | |
| 19:11 < justin_smith> ouch | |
| 19:11 < amalloy> or something like it, anyawy | |
| 19:11 < justin_smith> yeah |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int[][] result; | |
| float t; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { | |
| if (p < 0.5) | |
| return 0.5 * pow(2*p, g); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ಠ_ಠAttribute : Attribute | |
| { | |
| } | |
| [ಠ_ಠ] | |
| public class Manager | |
| { | |
| // 1000s of lines here | |
| } |