chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#1735: Strip away prefix when importing


From: Chicken Trac
Subject: #1735: Strip away prefix when importing
Date: Tue, 16 Mar 2021 15:41:56 -0000

#1735: Strip away prefix when importing
---------------------------------------+----------------------------
            Reporter:  Idiomdrottning  |       Type:  enhancement
              Status:  new             |   Priority:  minor
           Milestone:  someday         |  Component:  core libraries
             Version:  5.2.0           |   Keywords:
Estimated difficulty:  trivial         |
---------------------------------------+----------------------------
 I know we can easily add prefix when importing but some eggs already come
 with too much prefix on all of their procedures. Wouldn't it be pretty
 sweet if we could import sans them?

 (import (sans filepath "filepath:") (sans irregex "irregex-"))

 I tried my jolly best to implement it in https://idiomdrottning.org
 /chicken-core

 To support both sans and prefix at the same time (when you want to remove
 their prefix and add your own much cooler prefix) is left as an exercise
 for the reader. This just removes it for now.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1735>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]