The cl-case-control Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-case-control Reference Manual

This is the cl-case-control Reference Manual, version 0.1.0, generated automatically by Declt version 2.3 "Robert April" on Tue Feb 20 07:54:57 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

cl-case-control

This package supports case-controlling in both "starndard" case-insensitive environment and "extended" case-sensitive environment.

Note that the ANSI Common Lisp is a case-sensitive language about symbol names.

(intern "AbC") ; => |AbC|
(symbol-name '|AbC|) ; => "AbC"

The term "case-insensitive" here is not for those "barrier" symbols but for "non-barrier" symbols on some extended CL implementations s.t. GNU CLISP.

(in-package :cs-common-lisp-user)
(intern "Abc") ; => Abc
(symbol-name 'Abc) ; => "Abc"
(in-package :common-lisp-user)
(symbol-name 'Abc) ; => "ABC"
(symbol-name 'ABC) ; => "ABC"

Those differences between standard "case-insensitive" mode and extended "case-sensitive" modes cause some troubles at coding.

This package is a helper for solving such problems.

APIs:

general-purpose predicates:

general-purpose converters:

predicates for system/package case sensitiveness:

utilities to unify codes in both case-sensitive environment and case-insensitive environment:

History

License:

Under MIT license.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-case-control

Maintainer

SUZUKI Shingo

Author

SUZUKI Shingo

License

MIT

Description

Supporting case-controlling

Version

0.1.0

Dependency

trivial-types

Source

cl-case-control.asd (file)

Component

case-control.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-case-control.asd

Location

cl-case-control.asd

Systems

cl-case-control (system)

Packages

cl-case-control-asd


Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-case-control/case-control.lisp

Parent

cl-case-control (system)

Location

case-control.lisp

Packages

cl-case-control

Exported Definitions
Internal Definitions

case-inverted-package-p (function)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 cl-case-control-asd

Source

cl-case-control.asd

Use List

Previous: , Up: Packages   [Contents][Index]

4.2 cl-case-control

Source

case-control.lisp (file)

Nicknames
Use List

common-lisp

Exported Definitions
Internal Definitions

case-inverted-package-p (function)


Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Macros

Macro: case-selective-defpackage PNAME CASE-P &rest PARAMS
Package

cl-case-control

Source

case-control.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Functions

Function: adj-case STR &optional PKG
Package

cl-case-control

Source

case-control.lisp (file)

Function: case-selective-intern STR &optional PKG

CASE-SELECTIVE-INTERN is a alternative INTERN for CL implementations which have "modern" case-sensitivess feature.
CASE-SELECTIVE-INTERN interns given string into given package (or current package) with or without case conversion.

When given package is a case-insensitive package, CASE-SELECTIVE-INTERN interns given string with STRING-UPCASE.
When given package is a case-sensitive package, CASE-SELECTIVE-INTERN interns given string. Case of characters on the given string is left as is.

Note: you should use CL:INTERN if you want to intern into case-insensitive package without case conversion.

Package

cl-case-control

Source

case-control.lisp (file)

Function: case-sensitive-p ()
Package

cl-case-control

Source

case-control.lisp (file)

Function: case-sensitive-package-p &optional PKG
Package

cl-case-control

Source

case-control.lisp (file)

Function: char-invertcase C

Invert case of given character.
Note: CHAR-INVERTCASE function DOES NOT assume given character is an ASCII character.

Package

cl-case-control

Source

case-control.lisp (file)

Function: lowercase-char-p C

Predicate for lowercase character.
Note: LOWERCASE-CHAR-P function DOES NOT assume given character is an ASCII character.

Package

cl-case-control

Source

case-control.lisp (file)

Function: string-designator-p OBJ
Package

cl-case-control

Source

case-control.lisp (file)

Function: string-invertcase OBJ
Package

cl-case-control

Source

case-control.lisp (file)

Function: uppercase-char-p C

Predicate for uppercase character.
Note: UPPERCASE-CHAR-P function DOES NOT assume given character is an ASCII character.

Package

cl-case-control

Source

case-control.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Functions

Function: case-inverted-package-p &optional PKG
Package

cl-case-control

Source

case-control.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-case-control.asd: The cl-case-control<dot>asd file
cl-case-control/case-control.lisp: The cl-case-control/case-control<dot>lisp file

F
File, Lisp, cl-case-control.asd: The cl-case-control<dot>asd file
File, Lisp, cl-case-control/case-control.lisp: The cl-case-control/case-control<dot>lisp file

L
Lisp File, cl-case-control.asd: The cl-case-control<dot>asd file
Lisp File, cl-case-control/case-control.lisp: The cl-case-control/case-control<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   A   C   F   L   M   S   U  
Index Entry  Section

A
adj-case: Exported functions

C
case-inverted-package-p: Internal functions
case-selective-defpackage: Exported macros
case-selective-intern: Exported functions
case-sensitive-p: Exported functions
case-sensitive-package-p: Exported functions
char-invertcase: Exported functions

F
Function, adj-case: Exported functions
Function, case-inverted-package-p: Internal functions
Function, case-selective-intern: Exported functions
Function, case-sensitive-p: Exported functions
Function, case-sensitive-package-p: Exported functions
Function, char-invertcase: Exported functions
Function, lowercase-char-p: Exported functions
Function, string-designator-p: Exported functions
Function, string-invertcase: Exported functions
Function, uppercase-char-p: Exported functions

L
lowercase-char-p: Exported functions

M
Macro, case-selective-defpackage: Exported macros

S
string-designator-p: Exported functions
string-invertcase: Exported functions

U
uppercase-char-p: Exported functions

Jump to:   A   C   F   L   M   S   U  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
cl-case-control: The cl-case-control system
cl-case-control: The cl-case-control package
cl-case-control-asd: The cl-case-control-asd package

P
Package, cl-case-control: The cl-case-control package
Package, cl-case-control-asd: The cl-case-control-asd package

S
System, cl-case-control: The cl-case-control system

Jump to:   C   P   S