kotlin-libraries-playground icon indicating copy to clipboard operation
kotlin-libraries-playground copied to clipboard

Sample wanted for Arrow Core

Open jmfayard opened this issue 4 years ago • 16 comments

About the library

  • Description: Λrrow - Functional companion to Kotlin's Standard Library
  • GitHub: https://github.com/arrow-kt/arrow
  • Official website: https://arrow-kt.io/docs/core/

What the sample could do

Show some data type like Either and Validated and a functional programming pattern enabled by Arrow

Wants to contribute the sample?

  • Say so in a comment here
  • Follow instructions in CONTRIBUTING.md
  • Submit your pull request!

jmfayard avatar Sep 30 '20 08:09 jmfayard

hi @jmfayard I would like to post some samples on this can you let me know what are your expectations ?

ch8n avatar Oct 03 '20 06:10 ch8n

Nice @ch8n ! In this ticket, the expectation is to focus on Arrow Types https://arrow-kt.io/docs/datatypes/intro/

The challenge for this one is that Arrow does a lot of things,

  1. some which are pretty advanced,
  2. others who can be useful on a day to day basis.

In the sample we want to keep it simple and useful, so you have to focus on 2)

People who want to go deeper with Arrow can always do that in their own branch

jmfayard avatar Oct 03 '20 06:10 jmfayard

Nice @ch8n ! In this ticket, the expectation is to focus on Arrow Types https://arrow-kt.io/docs/datatypes/intro/

The challenge for this one is that Arrow does a lot of things,

  1. some which are pretty advanced,
  2. others who can be useful on a day to day basis.

In the sample we want to keep it simple and useful, so you have to focus on 2)

People who want to go deeper with Arrow can always do that in their own branch

hi, @jmfayard thanks for the quick response, I'm new with Arrow and I will start off with my research asap, it would be helpful if you could name certain operators that you use in your workflows.

ch8n avatar Oct 03 '20 07:10 ch8n

This is one of the libraires I would like to discover but don't know well myself. Are you in the kotlinlang slack channel? You could ask the arrow guys there what they recommend to get started with. Or just take another issue

jmfayard avatar Oct 03 '20 16:10 jmfayard

@ch8n If you decide to not go with this one, please let us know so we un-assign you and let others take it.

LouisCAD avatar Oct 03 '20 17:10 LouisCAD

@ch8n If you decide to not go with this one, please let us know so we un-assign you and let others take it.

currently, I'm looking into it I will update you if I'm not able to complete it, but if you have someone who is interested in this task involve him in the conversation we can collab and write some examples.

ch8n avatar Oct 04 '20 04:10 ch8n

hi @jmfayard hacktoberfest guidelines have been update please mark topic and add lables, guide is below https://hacktoberfest.digitalocean.com/hacktoberfest-update

ch8n avatar Oct 04 '20 14:10 ch8n

@ch8n Thanks. The repo is already tagged as #hacktoberfest

jmfayard avatar Oct 04 '20 16:10 jmfayard

@jmfayard I'm trying to include core-arrow libs, I have added dependencies as below but nothing is showing up, am I missing something ?

//build.gradle.kts

repositories {
    // arrowKt
    maven(url = "https://dl.bintray.com/arrow-kt/arrow-kt/")
    maven(url = "https://oss.jfrog.org/artifactory/oss-snapshot-local/")
}

dependencies{
..
implementation("io.arrow-kt:arrow-core:_")
implementation("io.arrow-kt:arrow-syntax:_")
}

ch8n avatar Oct 07 '20 05:10 ch8n

@ch8n We won't use snapshots so you don't need maven(url = "https://oss.jfrog.org/artifactory/oss-snapshot-local/") Apart from that, I've tested it locally and it worked Just make sure to do a Gradle Sync

By the way, there is a section Katas and exercises at https://arrow-kt.io/docs/quickstart/projects/ Might be a good source for inspiration

jmfayard avatar Oct 07 '20 06:10 jmfayard

@ch8n We won't use snapshots so you don't need maven(url = "https://oss.jfrog.org/artifactory/oss-snapshot-local/") Apart from that, I've tested it locally and it worked Just make sure to do a Gradle Sync

By the way, there is a section Katas and exercises at https://arrow-kt.io/docs/quickstart/projects/ Might be a good source for inspiration

thanks! I update Gradle and check that repository out

ch8n avatar Oct 07 '20 09:10 ch8n

@ch8n We won't use snapshots so you don't need maven(url = "https://oss.jfrog.org/artifactory/oss-snapshot-local/") Apart from that, I've tested it locally and it worked Just make sure to do a Gradle Sync By the way, there is a section Katas and exercises at https://arrow-kt.io/docs/quickstart/projects/ Might be a good source for inspiration

thanks! I update Gradle and check that repository out

hi @jmfayard I have been learning arrow core and did some of the examples from docs but I'm not getting feel that these examples im adding will have any value for someone learning

please can you do code review of what all I have added uptill now? https://github.com/ch8n/kotlin-libraries-playground, the main branch has the Arrow-kt

ch8n avatar Oct 17 '20 18:10 ch8n

@ch8n I understand, Arrow is one of the advanced Kotlin libraries, I was myself interested but curious when I tried to understand it. Do you mind if someone else takes over the issue?

jmfayard avatar Oct 20 '20 13:10 jmfayard

@ch8n I understand, Arrow is one of the advanced Kotlin libraries, I was myself interested but curious when I tried to understand it. Do you mind if someone else takes over the issue?

Sure I won't mind if someone else wants to take over. I admit my defeat😅😂

ch8n avatar Oct 21 '20 06:10 ch8n

Hi @jmfayard. I would like to work on this and contribute some samples

ssindher11 avatar Oct 15 '22 11:10 ssindher11

you're welcome, go on!

arrow is huge and can be complex though please try to do something simple that cover just a useful part of the library

Le sam. 15 oct. 2022 à 13:04, Shrey Sindher @.***> a écrit :

Hi @jmfayard https://github.com/jmfayard. I would like to work on this and contribute some samples

— Reply to this email directly, view it on GitHub https://github.com/LouisCAD/kotlin-libraries-playground/issues/7#issuecomment-1279721550, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADQFSAIWTHLTUJ4WEHWBKDWDKFTBANCNFSM4R6ZWWEQ . You are receiving this because you were mentioned.Message ID: @.***>

jmfayard avatar Oct 15 '22 11:10 jmfayard