Giter Club home page Giter Club logo

lfe-sicp's People

Contributors

0xfordcomma avatar jetkoten avatar jweir avatar kalikaneko avatar oubiwann avatar santoshrajan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lfe-sicp's Issues

Section 10.2.6 Conditional Expressions

Hi Duncan. This is Nelson from the mailing list. I'm going over the book and you talk about the "true atom" without giving a discussion on what an atom is. A search through the repo only talks about atoms in this section.

make setup fails - Cannot build local copy of the book

make deps works however I am unable to make setup and therefore the local copy of the Gitbook. What am I missing?

Core i3 on Netrunner which is based off of Arch Linux.

Output:

sudo make setup
Installing GitBook 2.6.7
[email protected] ../../../../../tmp/tmp-92836sPbG9rjERle/node_modules/gitbook
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected]
Error loading version latest: Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at evalmachine.:40:20
at Object. (/root/.gitbook/versions/2.6.7/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)

TypeError: Cannot read property 'commands' of null
make: *** [Makefile:15: setup] Error 1
yanosh@lappy ~/s/l/sicp> sudo make book
gitbook build ./ --output=_book
Error loading version latest: Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at evalmachine.:40:20
at Object. (/root/.gitbook/versions/2.6.7/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)

TypeError: Cannot read property 'commands' of null

Feedback for the LFE Preface

This is a ticket for accepting feedback to the LFE preface (we're still keeping the prefaces to the 1st and 2nd edition).

  • In the "Introduction " section, change "below" to "the following sections", e.g., "the mathematical and computational history leading to Lisp has been greatly simplified below" and "the four famous mathematicians listed below"
  • In the Peano section, show the example of recursion from his axioms
  • In the Russell section, show examples he gives for propositional functions with and without bound variables (from the Principia)
  • 6.4 first sentence "The ups-and-downs of Lisp since it's inception in 1958" should read its no apostrophe.
  • Update the content in the book with changes made in the blog posts

LaTeX formulas not formatted

Hello,

I'm reading the LFE SICP book compiled with the mdbook binary and the LaTeX formulas are displayed as a source, not the compiled LaTeX output.

Screenshot_20230108_145433

Thanks for all the great work on LFE

10.3.1 linear recursion and iteration

Towards the end there is a sentence about Scheme and Chapter 5.

"The implementation of Scheme we shall consider in chapter 5 does not share this defect. It will execute an iterative process in constant space, even if the iterative process is described by a recursive function."

If you stick with the current chapter numbering then I believe the chapter would be 15. The part about implementation of scheme will have to be looked at again after the completion of the book since it is unknown whether there will be an implementation of scheme.

Use of chapter numbering

In the book you start with chapter 10 and is non traditional. For example, in 10.2.3 Evaluating Combinations you mention chapter 11 which I presume is Chapter 1 for SICP. This is confusing. Is it possible to stick to the original SICP chapters and move 1-9 to an introduction/preface chapter?

10.2.7 Exercise 1.4

In the exercise funcall is mentioned once before but never with the code #'+/2

(defun a-plus-abs-b (a b)
  (funcall (if (> b 0)
                   #'+/2
                   #'-/2)
               a b)))

So I'm assuming that # is some type of way of referencing the quoted function.
#

What exactly does the # do? I tried looking through the reference but it's hard to search for just #

contributing to this repo

I would like to start contributing to this repo. I am currently working as a software engineer, and I have computer science background. Is there any plan on how to contribute to the document?
any guidelines or plans?

2.2.2, exercise 2.32

maybe I'm missing an obvious alternative form, but in my solution for the exercise you need the "head" from the unpacking in the second case in the pattern match (which is discarded in the template).:

(defun subsets
  (('()) '(()))
  (((cons head tail))
    (let ((rest (subsets tail)))
      (++ rest (lists:map
                      (lambda (r) (cons head r))
                      rest)))))

Also, I think that using ++ instead of append might be useful to avoid loading that function.

Exercise 1.1

(= a b)
should be
(== a b)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(cond ((= a 4) 6)
((= b 4) (+ 6 7 a))
(else 25))

should be

(cond ((== a 4) 6)
((== b 4) (+ 6 7 a))
(else 25))

Books without Githbook

Gitbook has changed its services and some of our stuff no longer builds. It would be nice to use some tooling that doesn't depend upon a service going away ... and I'd love to not have to use Ruby.

Ideally, whatever solution we use going forward should satisfy these conditions:

  • allow us to continue using the content we've created in markdown with no (or very few changes)
  • be usable without having to install tons of dependencies on our systems (e.g., support docker usage)
  • not be part of some pay-for-service that could be taken away at any point in time
  • support generating and viewing books locally
    a
    One option that is used to generate the copious markdown-based books in the Rust programming language community is this one:
  • https://github.com/rust-lang/mdBook

I'll see if it meets our other criteria ...a

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.