noelmarkham / learn-you-a-haskell-exercises Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Some exercises as a companion for the book Learn You a Haskell For Great Good! See http://learnyouahaskell.com/chapters -- Exercises Copyright (c) Noel Markham 2012-2017 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
I can see the solutions to the exercises. Is master supposed to have them? Just wondering. Thanks for your work on them.
I wanted to say thank you for creating this great resource! I was disappointed that the book didn't come with its own exercises. This is an excellent stand-in!
rotate's solution is rotate n l = drop n l ++ take n l
this doesn't take into account rotations larger than the length of the list.
occurrences of n
should be n mod (length list)
Dear Noel,
thanks for compiling these exercises! They are of great help to me learning Haskell.
However, you did not provide a license with your code. Is it alright for you if I fork the repo and push solutions to my fork? I do not whish do imply in any way that I created the exercises.
If you want me to add a clarifying line in the README, please let me know.
Best regards,
Tim
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.