• 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.
olebegemann's profile
Ole Begemann
Ole Begemann
Ole Begemann
@olebegemann

Ole Begemann

@olebegemann

Co-author of Advanced Swift: https://gumroad.com/a/507458675 . Writes about Swift at https://oleb.net . Also tweets as @elo (in German).

Joined December 2010
  • © 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
    Ole Begemann ‏@olebegemann 28 Jul 2014

    Instance methods in Swift are just curried type methods: http://oleb.net/blog/2014/07/swift-instance-methods-curried-functions/ …

    • Retweets 47
    • Likes 38
    • Jean W. Désir Ilya Belikin Yaakov gN0Me Jean-Luc Jumpertz Bernhard Loibl Mugwump Christoph Jerolimov Kostiantyn Koval
    9:28 AM - 28 Jul 2014
    0 replies 47 retweets 38 likes
      1. Mark Patterson ‏@Aurelius61 28 Jul 2014

        @olebegemann Do you need to make target and action in TargetActionWrapper optionals?

        0 replies 0 retweets 0 likes
      2. View other replies
      3. Ole Begemann ‏@olebegemann 29 Jul 2014

        @Aurelius61 I updated the article and made action non-optional. Thanks for telling me about it.

        0 replies 1 retweet 0 likes
      4. Mark Patterson ‏@Aurelius61 29 Jul 2014

        @olebegemann The ?'s were annoying me. TargetActionWrapper must have both to be complete. Could the target one go with unowned?

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Ole Begemann ‏@olebegemann 30 Jul 2014

        @Aurelius61 But it would not be a good general solution. You want target to become nil when the object gets deallocated.

        0 replies 0 retweets 0 likes
      7. Mark Patterson ‏@Aurelius61 30 Jul 2014

        @olebegemann But why would this object continue to exist after the button? Is this from worry about late-arriving events?

        0 replies 0 retweets 0 likes
      8. View other replies
      9. Ole Begemann ‏@olebegemann 30 Jul 2014

        @Aurelius61 Itʼs the other way around. If the button still exists and sends the action but the target has been deallocated, it would crash.

        0 replies 0 retweets 0 likes
    1. Michael Tsai ‏@mjtsai 28 Jul 2014

      @olebegemann Nice. The same pattern works well in PyObjC.

      0 replies 0 retweets 0 likes
      1. Kan We Box It? ‏@CodaFi_ 28 Jul 2014

        @olebegemann Currying /= PFA!

        0 replies 0 retweets 0 likes
      2. View other replies
      3. BJ Homer ‏@bjhomer 28 Jul 2014

        @codafi_ Are there other common use cases for currying outside PFA?

        0 replies 0 retweets 0 likes
      4. Kan We Box It? ‏@CodaFi_ 28 Jul 2014

        @bjhomer No, but that doesn’t make the terms ismorphic. Currying establishes (A /\ B) -> C = (A -> B) -> C. PFA is argument fixing.

        0 replies 0 retweets 0 likes
    2. Kostiantyn Koval ‏@KostiaKoval 28 Jul 2014

      This is Awesome discovery - “@olebegemann: Instance methods in Swift are just curried type methods: http://oleb.net/blog/2014/07/swift-instance-methods-curried-functions/ …” #Swift

      0 replies 0 retweets 2 likes
    3. Lawrence Lomax ‏@insertjokehere 28 Jul 2014

      @olebegemann This makes me happy and I hope it is indicative of a future language feature for true partial function application.

      0 replies 0 retweets 0 likes
    4. Matt Thomas ‏@mthomas 28 Jul 2014

      @olebegemann Wow! http://img4.wikia.nocookie.net/__cb20130223000930/adventuretimewithfinnandjake/images/b/b3/Kevin-Butler-Mind-Blown.gif …

      0 replies 0 retweets 0 likes
    5. Nobuyoshi MIYOKAWA ‏@nmiyo 1 Aug 2014

      iOS Dev Weekly から。素晴らしい! “@olebegemann: Instance methods in Swift are just curried type methods: http://oleb.net/blog/2014/07/swift-instance-methods-curried-functions/ …”

      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