Skip to content

Instantly share code, notes, and snippets.

@Kametrixom
Last active September 3, 2015 07:02
Show Gist options
  • Save Kametrixom/f6f818641432f02dbbdc to your computer and use it in GitHub Desktop.
Save Kametrixom/f6f818641432f02dbbdc to your computer and use it in GitHub Desktop.
// Do you like confusion? I like confusion. Make this compile. Some people may find it easier than others
_={${$1($0($2.0))($2.1)[{{({"\($0)"},0)}},{0}]()}}()({$0})(0)
@JessyCatterwaul
Copy link

protocol CryingEmoji {}
extension CryingEmoji {
    subscript(
        zero: () -> () -> (Any -> String, Int),
        one: () -> Int
    ) -> () -> ()
    {return {}}
}

func $(
    closure: (
        zero: Any -> (),
        one: () -> Any -> CryingEmoji,
        two: (Any, Any)
    ) -> ()
) -> (Any -> Any) -> (Int -> ()) {
    return {_ in {_ in}}
}

@Kametrixom
Copy link
Author

Congrats to @Jessy- for solving the challenge! I think this one wasn't easy, kudos to you!

@karagraysen
Copy link

istx25_2015-aug-29

@kostiakoval
Copy link

Img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment