[PATCH v1] rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Adam Faiz
>From 3c7e1af1f4812d0e4c5d10e841cf9546e5ba2887 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 15 Dec 2024 23:48:30 +0800 Subject: [PATCH v1] rdelim: Add new procedure `for-line-in-file`. * module/ice-9/rdelim.scm (for-line-in-file): Add it. This procedure makes it convenient to do pe

[PATCH v2] rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Adam Faiz
>From c8a9904f1b1c09d148de1ec23dc2eb0d433b3141 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 15 Dec 2024 23:48:30 +0800 Subject: [PATCH v2] rdelim: Add new procedure `for-line-in-file`. * module/ice-9/rdelim.scm (for-line-in-file): Add it. This procedure makes it convenient to do pe

rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Adam Faiz
>From 18485a2b94595ae2239f5dcdeb06d3a80bb04bf1 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 15 Dec 2024 23:48:30 +0800 Subject: [PATCH] rdelim: Add new procedure `for-line-in-file`. * module/ice-9/rdelim.scm (for-line-in-file): Add it. --- module/ice-9/rdelim.scm | 12

[PATCH 1/2] rdelim: Add new procedure `for-rdelim-in-port`.

2024-12-16 Thread Adam Faiz
>From 302159fe61d9df526911ead8ea6ad823ad8b0443 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 15 Dec 2024 23:48:30 +0800 Subject: [PATCH 1/2] rdelim: Add new procedure `for-rdelim-in-port`. * module/ice-9/rdelim.scm (for-rdelim-in-port): Add it. (for-delimited-in-port): Define as a sp

[PATCH 2/2] doc: Add documentation for `for-rdelim-in-port` and, related procedures.

2024-12-16 Thread Adam Faiz
>From b271d059615571d0d50027758494b8dbb5e8625e Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Mon, 16 Dec 2024 22:55:41 +0800 Subject: [PATCH 2/2] doc: Add documentation for `for-rdelim-in-port` and related procedures. * doc/ref/api-io.texi (for-rdelim-in-port): Document API. (for-delimit

Re: rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Adam Faiz
Hi Ricardo, On 12/16/24 00:57, Ricardo Wurmus wrote: > Hi Adam, > > has this patch been discussed somewhere else? I'm asking because I have > no context other than this patch. No, actually. Was I supposed to discuss it's use in the patch cover letter? The reason I sent this patch was to make i

[PATCH v3] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Adam Faiz
>From fe113e9efc08aae2a7e3792a1018c496212bd774 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 15 Dec 2024 23:48:30 +0800 Subject: [PATCH v3] rdelim: Add new procedure `for-line-in-file`. * module/ice-9/rdelim.scm (for-line-in-file): Add it. This procedure makes it convenient to do pe

[PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-16 Thread Adam Faiz
>From 258d20a9665e6f845a167258c33374a00e734885 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Tue, 17 Dec 2024 12:20:52 +0800 Subject: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions. * test-suite/tests/ports.test: Add test cases for `for-delimited-in-port` and `f

[PATCH guile-lib] src: (math trigonometry): Add it.

2025-02-15 Thread Adam Faiz
\ diff --git a/src/math/trigonometry.scm b/src/math/trigonometry.scm new file mode 100644 index 000..0afc047 --- /dev/null +++ b/src/math/trigonometry.scm @@ -0,0 +1,61 @@ +;; (math trigonometry) -- More exact trigonometry for motion +;; Copyright (C) 2025 Adam Faiz + +;; This program is free software: y

[PATCH v2 guile-lib] src: (math trigonometry): Add it.

2025-02-16 Thread Adam Faiz
scm b/src/math/trigonometry.scm new file mode 100644 index 000..00791d2 --- /dev/null +++ b/src/math/trigonometry.scm @@ -0,0 +1,132 @@ +;; (math trigonometry) -- More exact trigonometry for motion +;; Copyright (C) 2025 Adam Faiz + +;; This program is free software: you can redistribute it and/

[PATCH v3 guile-lib] src: (math trigonometry): Add it.

2025-02-16 Thread Adam Faiz
\ diff --git a/src/math/trigonometry.scm b/src/math/trigonometry.scm new file mode 100644 index 000..00791d2 --- /dev/null +++ b/src/math/trigonometry.scm @@ -0,0 +1,132 @@ +;; (math trigonometry) -- More exact trigonometry for motion +;; Copyright (C) 2025 Adam Faiz + +;; This program is free software: y

[PATCH v1] src: (math trigonometry): Add it.

2025-02-16 Thread Adam Faiz
src/math/trigonometry.scm b/src/math/trigonometry.scm new file mode 100644 index 000..57804a6 --- /dev/null +++ b/src/math/trigonometry.scm @@ -0,0 +1,146 @@ +;; (math trigonometry) -- More exact trigonometry for motion +;; Copyright (C) 2025 Adam Faiz + +;; This program is free software: y

[PATCH v4 guile-lib] src: (math trigonometry): Add it.

2025-02-21 Thread Adam Faiz
\ os/process.scm \ diff --git a/src/math/trigonometry.scm b/src/math/trigonometry.scm new file mode 100644 index 000..55a3dd9 --- /dev/null +++ b/src/math/trigonometry.scm @@ -0,0 +1,138 @@ +;; (math trigonometry) -- More exact trigonometry for motion +;; Copyright (C) 2025

Re: [PATCH v2 guile-lib] src: (math trigonometry): Add it.

2025-02-21 Thread Adam Faiz
> atan(0,0) is not well-defined (more precisely, there is no unique choice > within the interval [0,360°)) - if the point (0,0) is written in polar > coordinates (0*cos theta, 0*sin theta), then any angle theta can be used. > > > If you intend to support (arctan2 0 0), it may be good to mention