https://kotlinlang.org logo
Join SlackCommunities
Powered by
# oolong
  • p

    pardom

    05/20/2019, 2:24 PM
    @torresmi new doc site with Docsify https://oolong-kt.org
    👍 1
  • p

    pardom

    05/20/2019, 2:25 PM
    Deploying with Gitbook was a PITA.
  • p

    pardom

    05/20/2019, 2:26 PM
    Also, trying out this logo instead of the tea emoji: https://github.com/oolong-kt
  • p

    pardom

    05/22/2019, 7:54 PM
    Side effect doc is up: https://oolong-kt.org/#/getting-started/side-effects
  • p

    pardom

    05/22/2019, 7:54 PM
    feedback welcome
  • s

    sngrekov

    05/22/2019, 8:41 PM
    Have you considered to drop Next class as a Pair in favour of your custom class? I think by using Pair class you are putting constraints to Oolong's future API. Having Next as your own class allows you to make changes in it or do some optimisations without breaking public API
  • p

    pardom

    05/22/2019, 8:54 PM
    I considered several data structures when defining that type and
    Pair
    seemed to be the most obvious. If you can think of some examples of future conflict, I’ll reconsider.
  • p

    pardom

    05/22/2019, 8:59 PM
    FYI, Elm uses
    Pair
    (
    Tuple
    ) and Raj uses an array.
  • s

    sngrekov

    05/22/2019, 9:05 PM
    From the top of my head I can name only convinience and reasoning. You always have to explicitly return Pair(State, Effect) (or State to Effect) , even when you don't have effects, or state changes(or use some helper functions). Alternatevily, you can return Next.state(..) or Next.effect(..) or smtg like that.
  • p

    pardom

    05/22/2019, 9:11 PM
    Yes, that's one annoyance. Elm has nice tuple support and kotlin does not. In this project I made an effort to be as pure FP as possible, which meant no class methods. Rather, you can create utility functions to accomplish the same thing. In fact,
    withoutEffects
    once existed in the library, however, I removed it to be less prescriptive and more minimal.
  • p

    pardom

    05/22/2019, 9:13 PM
    IMO, requiring
    to none()
    makes it clear to the user what is actually being returned.
  • p

    pardom

    05/23/2019, 3:40 PM
    Navigation recipe is up, as well as edit links for contribution: https://oolong-kt.org/#/recipes/navigation
  • p

    pardom

    05/31/2019, 3:53 PM
    Oolong
    2.0.0
    is releasing to Maven Central.
  • p

    pardom

    05/31/2019, 4:35 PM
    Release completed!
  • p

    pardom

    05/31/2019, 4:36 PM

    https://img.shields.io/maven-central/v/org.oolong-kt/oolong.png▾

  • p

    pardom

    05/31/2019, 7:42 PM
    🙌 https://search.maven.org/search?q=g:org.oolong-kt 🙌
  • p

    pardom

    06/20/2019, 2:44 PM
    Oolong
    2.0.1
    is releasing to Maven Central with support for Kotlin
    1.3.40
    .
  • p

    pardom

    10/23/2019, 7:55 PM
    🙌 https://github.com/oolong-kt/oolong/pull/64/files shipit
    👍 2
  • p

    pardom

    05/07/2020, 2:30 PM
    2.0.3
    is releasing to Maven Central: https://github.com/oolong-kt/oolong/blob/master/CHANGELOG.md#203---2020-04-25
  • p

    pardom

    05/16/2020, 7:07 PM
    🙌 https://talkingkotlin.com/oolong 🙌
    👏 1
  • m

    Michal Harakal

    05/17/2020, 8:07 AM
    Hello @pardom, congrats to nice TalkingKotlin episode 🙂 You have mentioned that MVU works nicely with jetpack and swift UI, I really would like to see some samples on that. I didn’t find much on website or github, I have only found issue #70 mentioning moving to another repo (where?) and also related commits where are existing samples removed. Any hints on that or should I work with examples in version before #70 ?
  • p

    pardom

    05/17/2020, 1:21 PM
    Hi, @Michal Harakal. The samples were removed from the main repo and are moving to their own repo in the same org. I'll post here when that work is done. In the meantime, here's the sample app from my talk at Droidcon. https://github.com/pardom/dice
    👏 1
  • p

    pardom

    05/17/2020, 1:23 PM
    I'm also working on a Hacker News reader which uses Compose and implements more advanced behavior. I'll post that here, too, when I switch the repo to public.
    👍 1
    m
    • 2
    • 2
  • p

    pardom

    05/17/2020, 8:06 PM
    The samples have been restored here: https://github.com/oolong-kt/samples
    🎉 1
    👍 1
  • p

    pardom

    05/17/2020, 8:07 PM
    These projects target
    2.0.4
    which is rolling out today.
  • p

    pardom

    05/24/2020, 6:41 PM
    I just made this project public. It's far from finished, but already implements basic functionality using Oolong and Compose. https://github.com/pardom/lambda-news
    🎉 1
    👌 1
    m
    • 2
    • 9
  • p

    pardom

    06/12/2020, 11:05 PM
    Looking for feedback: https://github.com/oolong-kt/oolong/pull/98
  • p

    pardom

    08/21/2020, 10:24 PM
    The Oolong docs now include a playground bundled with Oolong! This is a step toward improving documentation. With this we can provide codelabs and interactive samples. Looking forward to your contributions! https://oolong-kt.org/#see-it-in-action
    👏 3
  • p

    pardom

    08/26/2020, 5:54 PM
    We are so excited to announce that Jetpack Compose Alpha is here! For all the details, please check out the blog post at http://goo.gle/jetpack-compose-alpha. You can get it now on Google’s Maven Repository and release notes are available at https://developer.android.com/jetpack/androidx/versions/all-channel. As always, feedback is welcome; please log issues at https://issuetracker.google.com/issues/new?component=612128. Thread in Slack Conversation
    👍🏻 4
  • p

    pardom

    09/10/2020, 7:00 PM
    I'll be speaking about Oolong at droidcon EMEA. Any special requests? https://www.online.droidcon.com/emea-speaker/michael-pardo