superruzafa / visual-scala-reference Goto Github PK
View Code? Open in Web Editor NEWVisual Scala Reference
Home Page: https://superruzafa.github.io/visual-scala-reference
Visual Scala Reference
Home Page: https://superruzafa.github.io/visual-scala-reference
The mapConserve
page is not expressing accurately the real behavior of that function, neither in the description nor the diagram, as shown in #8
I tried to run the docker build with the following code:
docker build --compress -t visual-scala-reference .
Which failed on step 3:
=> [2/8] RUN apk update && apk add --no-cache make hugo inotify-tools 10.9s
=> ERROR [3/8] RUN tlmgr update --self 4.5s
------
> [3/8] RUN tlmgr update --self:
4.394
4.394 tlmgr: Local TeX Live (2020) is older than remote repository (2023).
4.394 Cross release updates are only supported with
4.394 update-tlmgr-latest(.sh/.exe) --update
4.394 See https://tug.org/texlive/upgrade.html for details.
------
Dockerfile:5
--------------------
3 | RUN apk update && apk add --no-cache make hugo inotify-tools
4 |
5 | >>> RUN tlmgr update --self
6 | RUN tlmgr install standalone
7 | RUN tlmgr install pgf
--------------------
ERROR: failed to solve: process "/bin/sh -c tlmgr update --self" did not complete successfully: exit code: 1
The logs link to https://tug.org/texlive/upgrade.html which suggests a way of upgrading, alternatively it suggests building with the newer TexLive installation.
This Dockerfile uses this repos Docker image as a base: https://github.com/superruzafa/docker-tinytex
Perhaps the source image needs updating? DockerHub lists a 0.5 tag that was updated a year ago compared to the 0.2 tag from 3 years ago but switching to it still results in the error:
tlmgr: Local TeX Live (2022) is older than remote repository (2023).
a visual example with output would be in the website just a suggestion https://superruzafa.github.io/visual-scala-reference/span/
There are some entries for methods defined in object like Collection.concat and Collection.empty.
I think it might be confusing for new-comers since there is no Collection
object actually.
In reality, such methods are defined not inCollection
but in the specific collection objects, e.g. List.concat
or Set.empty
.
I first imagined that each signatures have a note like
object COLLECTION {
def empty[A]: COLLECTION[A]
}
// COLLECTION could be actual collection type, like List or Set.
but this is not ideal since the signatures requires translations.
So I would suggest to add
For methods in trait, such simplification is fine, I think !!
Can you add Spark operators to this project or create a new one for Spark?
This site is great. It helps a lots. Thanks.
Would you consider non-standard functions like traverse
and sequence
typical to libraries like cats? Is that more of a seperate site/project?
There are some comibinations of functions that are related to each other, e.g.
compose
and andThen
in Function
drop | dropRight | dropWhile | take | takeRight | takeWhile
in Collection
head | headOption | last | lastOption
in Collection
I think adding a see-also table or something to each page would be helpful for readers, so that they can find related functions even if they don't know names of all functions.
Such goal could be realized by mentioning related function in page.
But I think it could be error-prone and tedious... especially when accounting translation into.
So it would be nicer if relations between functions are generated by Jekyl for all pages in all translations, in single source of truth, like see-also.yml
or something like that.
see-also:
group1: [compose,andThen]
group2: [drop,dropRight,dropWhile,take,takeRight,takeWhile]
group3: [head,headOption,last,lastOption]
...
I don't know Jekyll much... it may have such feature ?
The below 2 pages uses type Seq
instead of Collection
.
https://superruzafa.github.io/visual-scala-reference/isDefinedAt_Seq
https://superruzafa.github.io/visual-scala-reference/isDefinedAt_Map
Is this intended? If so, I would like to know why.
If not intended, it should be corrected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.