Skip to content
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • 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
dibblego's profile
Tony Morris
Tony Morris
Tony Morris
@dibblego

Tweets

Tony Morris

@dibblego

Power ∧ Attitude ⇒ Performance

Brisbane, Australia
tmorris.net
Joined May 2009

Tweets

  • © 2021 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    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.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    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

     

    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.

    1. Tony Morris‏ @dibblego 19 Nov 2020
      Replying to @NicolasRinaudo @puffnfresh @Iceland_jack

      In practice, Haskell has global type-class uniqueness. That's not the only reason Haskell type-classes are superior.https://www.youtube.com/watch?v=hIZxTQP1ifo …

      1 reply 0 retweets 2 likes
    2. Nicolas Rinaudo‏ @NicolasRinaudo 19 Nov 2020
      Replying to @dibblego @puffnfresh @Iceland_jack

      Fair enough - what did I miss in my (nasty) bit of code? Doesn't it expose exactly the fact that global uniqueness is not guaranteed by ghc? Who's got the bigger type class implementation is another debate entirely and not at all the point I was making, sorry if it was unclear

      1 reply 0 retweets 2 likes
    3. Tony Morris‏ @dibblego 22 Nov 2020
      Replying to @NicolasRinaudo @puffnfresh @Iceland_jack

      The argument is practical Write Haskell; never use orphan instances. This is achievable with little/no penalty Write Scala; never use orphan instances. With this commitment, it's difficult & there's no sweet spot Scala does not have type-classes in any general practical sense

      2 replies 0 retweets 0 likes
    4. Nicolas Rinaudo‏ @NicolasRinaudo 22 Nov 2020
      Replying to @dibblego @puffnfresh @Iceland_jack

      That is entirely besides the point though. My point is: GHC doesn't enforce global instance uniqueness. This is demonstrably true, but exhibiting a program in which global instance uniquess is violated. Whether or not it's easy to avoid is another discussion

      2 replies 0 retweets 1 like
    5. Tony Morris‏ @dibblego 22 Nov 2020
      Replying to @NicolasRinaudo @puffnfresh @Iceland_jack

      Whether or not it's easy to avoid is the *practical* discussion. GHC doesn't enforce it; Haskell does. Neither of these are particularly interesting to me, but I thought we were talking about practical application.

      1 reply 0 retweets 0 likes
    6. Nicolas Rinaudo‏ @NicolasRinaudo 22 Nov 2020
      Replying to @dibblego @puffnfresh @Iceland_jack

      But it's impossible to avoid if you use GHC and have external dependencies though, right? Isn't that practical?

      2 replies 0 retweets 0 likes
    7. Nicolas Rinaudo‏ @NicolasRinaudo 22 Nov 2020
      Replying to @NicolasRinaudo @dibblego and

      Sorry - it's impossible to guarantee, not to avoid. I do not need to be convinced that it doesn't happen often in practice, my point is just that you can't guarantee it, just observe it.

      1 reply 0 retweets 0 likes
    8. Tony Morris‏ @dibblego 22 Nov 2020
      Replying to @NicolasRinaudo @puffnfresh @Iceland_jack

      If a Haskell library implements orphan instances, I typically put it in the "not useful" basket and get on with it. This is a satisfactory optimisation. If a Scala library does it, and it is increasingly the case, I roll me eyes, get over it and accept all the penalties.

      1 reply 0 retweets 0 likes
    9. Nicolas Rinaudo‏ @NicolasRinaudo 22 Nov 2020
      Replying to @dibblego @puffnfresh @Iceland_jack

      This assumes that you have access to the code and are willing to audit it. If the instances aren't exposed explicitly but do nasty things like my ins and ins' example, you won't observe the problem until runtime, when your code does impossible things.

      2 replies 0 retweets 0 likes
    10. Nicolas Rinaudo‏ @NicolasRinaudo 22 Nov 2020
      Replying to @NicolasRinaudo @dibblego and

      My point isn't that you should - it's reasonable to assume that most sane libraries don't do that, and if they do, it's a bug. It's ok to depend on libraries that have bugs, provided you can work around them. My point is, again - no guarantee. This is a possible bug.

      1 reply 0 retweets 0 likes
      Tony Morris‏ @dibblego 22 Nov 2020
      Replying to @NicolasRinaudo @puffnfresh @Iceland_jack

      Right, agree. With Haskell, fixing the code is sometimes much cheaper. For Scala, I just resign to the bad code at the outset. No point wasting the time with contemplation and false hopes.

      6:50 PM - 22 Nov 2020
      1 reply 0 retweets 0 likes
        1. Nicolas Rinaudo‏ @NicolasRinaudo 22 Nov 2020
          Replying to @dibblego @puffnfresh @Iceland_jack

          This is trollish but the underlying message as I understand it is fair - if you consider global instance uniquess to be an important feature of type classes, then it's far easier to achieve in Haskell than it is in Scala. Not free - it's not a GHC guarantee - but easier.

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo

      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

        • © 2021 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Cookies
        • Ads info