Skip to content

Commit c39778e

Browse files
committed
refa: use more concise docstrings
1 parent 8526667 commit c39778e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

algorithms-and-data-structures/project-euler/001-multiples-of-3-or-5/muls-of-3-or-5-brute-for.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#lang typed/racket
22

3-
; Compute sum of multiples of 3 or 5 that are less than the specified limit,
3+
; Compute sum of multiples of 3 or 5 that are less than [limit],
44
; using brute force trial division in a for loop.
55
(: muls-of-3-or-5 (-> Integer Integer))
66
(define (muls-of-3-or-5 limit)

algorithms-and-data-structures/project-euler/001-multiples-of-3-or-5/muls-of-3-or-5-brute-simple.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#lang typed/racket
22

3-
; Compute sum of multiples of 3 or 5 that are less than the specified limit,
3+
; Compute sum of multiples of 3 or 5 that are less than [limit],
44
; using brute force trial division and simple recursion.
55
(: muls-of-3-or-5 (-> Integer Integer))
66
(define (muls-of-3-or-5 limit)

algorithms-and-data-structures/project-euler/001-multiples-of-3-or-5/muls-of-3-or-5-brute-tail.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#lang typed/racket
22

3-
; Compute sum of multiples of 3 or 5 that are less than the specified limit,
3+
; Compute sum of multiples of 3 or 5 that are less than [limit]
44
; using brute force trial division and tail call recursion.
55
(: muls-of-3-or-5 (-> Integer Integer))
66
(define (muls-of-3-or-5 limit)

algorithms-and-data-structures/project-euler/001-multiples-of-3-or-5/muls-of-3-or-5-skip-tail.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(: add5 (-> Integer Integer))
66
(define (add5 int) (if (> int 0) (+ int 5) 0))
77

8-
; Compute sum of multiples of 3 or 5 that are less than the specified limit,
8+
; Compute sum of multiples of 3 or 5 that are less than [limit]
99
; using skipped sequences and tail call recursion.
1010
(: muls-of-3-or-5 (-> Integer Integer))
1111
(define (muls-of-3-or-5 limit)

0 commit comments

Comments
 (0)