• Home
  • About

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
By using Twitter’s services you agree to our Cookie Use and Data Transfer outside the EU. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
mbrandonw's profile
Brandon Williams
Brandon Williams
Brandon Williams
@mbrandonw

Brandon Williams

@mbrandonw

Subterranean Homesick Mathematician. Texan. iOS at @Kickstarter.

Joined October 2009
  • © 2016 Twitter
  • About
  • Help
  • Terms
  • Privacy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @

Retweet this to your followers?

Optional comment for Retweet
 
 

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
140

Are you sure you want to delete this Tweet?

Promote this Tweet

Block

  • Add a location to your Tweets

    When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more

    Profile summary

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    Preview

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Buy Now

    Hmm... Something went wrong. Please try again.

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    Previous Tweet Next Tweet
    Brandon Williams ‏@mbrandonw 6 Jan 2015

    the crazy world behind generic functions in Swift: "proof in functions"http://www.fewbutripe.com/swift/math/2015/01/06/proof-in-functions.html …

    • Retweets 29
    • Likes 54
    • Mauricio Scheffer Swift London Sizhao Yang Srđan Rašić Deplorable Richardo Ramakrishnan Nate Potter Tjeerd in 't Veen Joshua Conner
    7:53 AM - 6 Jan 2015
    0 replies 29 retweets 54 likes
      1. Rob Napier ‏@cocoaphony 7 Jan 2015

        @mbrandonw In #8, is the right way to think about this type as "Something" as in "there exists…" So does Bottom mean "there does not exist…"

        0 replies 0 retweets 0 likes
      2. View other replies
      3. Brandon Williams ‏@mbrandonw 7 Jan 2015 Greenpoint, Brooklyn

        @cocoaphony for example, the empty tuple `()`

        0 replies 0 retweets 0 likes
      4. Rob Napier ‏@cocoaphony 7 Jan 2015

        @mbrandonw And I'm not clear how () applies. Can you implement Not<Void>? Is Void true?

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Brandon Williams ‏@mbrandonw 7 Jan 2015

        @cocoaphony Void would be true, and it's just a typealias for the empty tuple (). Same as the empty struct `Struct {}`.

        0 replies 0 retweets 0 likes
      7. Rob Napier ‏@cocoaphony 7 Jan 2015

        @mbrandonw If () is true, then is 1? (1,"a")? I see why Empty is convenient, but is it unique?

        0 replies 0 retweets 0 likes
      8. Brandon Williams ‏@mbrandonw 7 Jan 2015

        @cocoaphony well 1 is a value, not a type. I guess that's the confusion. The empty tuple is acting as a type and a value: let x: () = ()

        0 replies 0 retweets 1 like
      9. Brandon Williams ‏@mbrandonw 7 Jan 2015

        @cocoaphony sorry, maybe i shouldn't have used empty tuple as an example.

        0 replies 0 retweets 0 likes
      10. Rob Napier ‏@cocoaphony 7 Jan 2015

        @mbrandonw That makes sense. But is (Int, Int) true then? Or just "something else?"

        0 replies 0 retweets 0 likes
      11. View other replies
      12. Show more
      1. Jordan Rose ‏@UINT_MIN 6 Jan 2015

        @mbrandonw Curious about #2. Not just one possible answer, right? return { _ in { c, a in c } } return { g in { c, a in g(c, f(a)) } }

        0 replies 0 retweets 0 likes
      2. Brandon Williams ‏@mbrandonw 6 Jan 2015

        @uint_min huh yeah, and you can even see why in the redundancy of the propositions, which leads to multiple proofs.

        0 replies 0 retweets 0 likes
      3. Brandon Williams ‏@mbrandonw 6 Jan 2015

        @uint_min i think i included this so i'd have something to refer back to when i post something about transducers (that's `mapping`)

        0 replies 0 retweets 0 likes
      1. Chris Lattner ‏@clattner_llvm 6 Jan 2015

        @mbrandonw Very nice post. One pedantic point: each of those functions can be implemented with a call to a noreturn function like abort :-)

        0 replies 3 retweets 9 likes
      2. View other replies
      3. Brandon Williams ‏@mbrandonw 6 Jan 2015

        @clattner_llvm oof! i knowwww. clear sign of my brain being mostly in the math world :D

        0 replies 0 retweets 0 likes
      1. Phillip Bowden ‏@pbowden 6 Jan 2015

        @mbrandonw Nice post! Takes me back to my symbolic logic course :)

        0 replies 0 retweets 1 like
      2. Brandon Williams ‏@mbrandonw 6 Jan 2015

        @pbowden good stuff!

        0 replies 0 retweets 0 likes
    1. Brandon Williams ‏@mbrandonw 6 Jan 2015

      @interstateone thanks for the kind words!

      0 replies 0 retweets 0 likes
    2. Brandon Williams ‏@mbrandonw 6 Jan 2015

      @cbarrett thanks! (hit me up!)

      0 replies 0 retweets 0 likes
      1. an0 ‏@an0 6 Jan 2015

        @mbrandonw interesting. Minor error: P⇒Q should mean Q false if P true and Q false, true otherwise.

        0 replies 0 retweets 0 likes
      2. Brandon Williams ‏@mbrandonw 6 Jan 2015

        @an0 oof! good catch! will fix

        0 replies 0 retweets 0 likes

    Loading seems to be taking a while.

    Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

      Promoted Tweet

      false

      • © 2016 Twitter
      • About
      • Help
      • Terms
      • Privacy
      • Cookies
      • Ads info