Giter Club home page Giter Club logo

Comments (13)

non avatar non commented on July 22, 2024

This is a great idea 👍

from cats.

xuwei-k avatar xuwei-k commented on July 22, 2024

http://xuwei-k.github.io/cats-2015-02-06.svg

from cats.

julien-truffaut avatar julien-truffaut commented on July 22, 2024

Awesome!

from cats.

joshmarcus avatar joshmarcus commented on July 22, 2024

FWIW, I think the semigroupoid layout (text or not) is easier to digest and is a little more accessible.

from cats.

ceedubs avatar ceedubs commented on July 22, 2024

Oh wow the boxes in @xuwei-k's diagram are links to the source. That's fantastic!

from cats.

stew avatar stew commented on July 22, 2024

ok, so we have sat on this for way too many months. can someone just integrate the @xuwei-k into our docs somewhere?

Is this something we can regenerate easily when stuff chnages? @xuwei-k ?

from cats.

xuwei-k avatar xuwei-k commented on July 22, 2024

Please feel free to use this :)

from cats.

non avatar non commented on July 22, 2024

I really like the idea of auto-generating diagrams a la sbt-class-diagram. However, I decided to take a crack at making a graph by hand to see if I could use color and layout to help give folks a better intuition about what is going on: http://plastic-idolatry.com/erik/cats-graph.png.

What do you all think? Auto-generating the graph (and keeping it automatically-updated) is really nice, but I think having colors, method names, and a manually layout may be nice too.

from cats.

julien-truffaut avatar julien-truffaut commented on July 22, 2024

Nice, I think it is worth to have a hand made diagram, it can be much clearer and typeclasses should be pretty stable (in a few a releases).

from cats.

kevinwright avatar kevinwright commented on July 22, 2024

Can we have the best of both worlds?

If sbt-class-diagram is already there, then it seems we're okay with a
dependency on graphviz.
So how doable is it to annotate typeclasses with colour and grouping hints
that get passed through to the dotty source?

On 22 June 2015 at 09:06, Julien Truffaut [email protected] wrote:

Nice, I think it is worth to have a hand made diagram, it can be much
clearer and typeclasses should be pretty stable (in a few a releases).


Reply to this email directly or view it on GitHub
https://github.com/non/cats/issues/95#issuecomment-114035082.

Kevin Wright
mail: [email protected]
gtalk / msn : [email protected]
quora: http://www.quora.com/Kevin-Wright
google+: http://gplus.to/thecoda
[email protected]
twitter: @thecoda
vibe / skype: kev.lee.wright
steam: kev_lee_wright

"My point today is that, if we wish to count lines of code, we should not
regard them as "lines produced" but as "lines spent": the current
conventional wisdom is so foolish as to book that count on the wrong side
of the ledger" ~ Dijkstra

from cats.

non avatar non commented on July 22, 2024

@kevinwright That's an interesting idea.

@xuwei-k Do you think it would be possible to provide styling grouping hints to sbt-class-diagram? Do you have a sense of how well that might work?

from cats.

non avatar non commented on July 22, 2024

(Also, here is the diagram for the C[_, _] type classes: http://plastic-idolatry.com/erik/cats-graph2.png)

from cats.

kailuowang avatar kailuowang commented on July 22, 2024

I am going count this as fixed by #1416

from cats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.