You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/specs/stdlib_stringlist_type.md
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
-
title: stringlist
2
+
title: stringlist type
3
3
---
4
4
5
-
# `stdlib_stringlist` module (1-D List of Strings)
5
+
# `stdlib_stringlist_type` module (1-D List of Strings)
6
6
7
7
[TOC]
8
8
9
9
## Introduction
10
10
11
-
The `stdlib_stringlist` module provides with 2 derived types to deal with list of strings.
11
+
The `stdlib_stringlist_type` module provides with 2 derived types to deal with list of strings.
12
12
`stringlist_type` derived type represents a one-dimensional list of variable-length strings which is compatible with Fortran intrinsic character and `stringlist_type` derived type represents an index to access, modify the elements of a stringlist and insert strings to a stringlist.
13
13
14
14
## Derived type provided
@@ -47,8 +47,8 @@ Experimental
47
47
48
48
#### Syntax
49
49
50
-
For fidx: `res = [[stdlib_stringlist(module):fidx()]] (idx)`.
51
-
For bidx: `res = [[stdlib_stringlist(module):bidx()]] (idx)`.
50
+
For fidx: `res = [[stdlib_stringlist_type(module):fidx()]] (idx)`.
51
+
For bidx: `res = [[stdlib_stringlist_type(module):bidx()]] (idx)`.
52
52
53
53
#### Status
54
54
@@ -71,7 +71,7 @@ The result is of type `stringlist_index_type`.
71
71
72
72
```fortran
73
73
program demo_fidx_bidx
74
-
use stdlib_stringlist, only: stringlist_type, stringlist_index_type, fidx, bidx
74
+
use stdlib_stringlist_type, only: stringlist_type, stringlist_index_type, fidx, bidx
75
75
implicit none
76
76
77
77
type(stringlist_type) :: stringlist
@@ -106,9 +106,9 @@ With argument: Initializes a stringlist equivalent to the input array `array` i.
106
106
107
107
#### Syntax
108
108
109
-
- No arguments given: `res = [[stdlib_stringlist(module):stringlist_type(interface)]] ()`
109
+
- No arguments given: `res = [[stdlib_stringlist_type(module):stringlist_type(interface)]] ()`
110
110
111
-
- With argument: `res = [[stdlib_stringlist(module):stringlist_type(interface)]] (array)`
111
+
- With argument: `res = [[stdlib_stringlist_type(module):stringlist_type(interface)]] (array)`
112
112
113
113
#### Status
114
114
@@ -134,7 +134,7 @@ The result is an instance of type `stringlist_type`.
134
134
135
135
```fortran
136
136
program demo_constructor
137
-
use stdlib_stringlist, only: stringlist_type
137
+
use stdlib_stringlist_type, only: stringlist_type
138
138
use stdlib_string_type, only: string_type
139
139
implicit none
140
140
@@ -162,7 +162,7 @@ Inserts the string `string` _AT_ the index `idx`, so that the newly added elemen
0 commit comments