Skip to content

Commit c977b45

Browse files
authored
Merge pull request #14 from wavebitscientific/feature/support-strings
Feature/support strings
2 parents afa0e56 + 8bca166 commit c977b45

32 files changed

Lines changed: 3161 additions & 2839 deletions

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# cmake version, project name, language
22
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
3-
project(functional-fortran)
4-
enable_language(Fortran)
3+
project(functional-fortran Fortran)
54

65
# set output paths for modules, archives, and executables
76
set(CMAKE_Fortran_MODULE_DIRECTORY ${PROJECT_BINARY_DIR}/include)
@@ -40,7 +39,7 @@ add_library(testing src/tests/mod_testing.f90)
4039

4140
# tests
4241
enable_testing()
43-
foreach(execid arange complement empty filter foldl foldr foldt head init insert intersection iterfold last limit map reverse set sort split subscript tail unfold union)
42+
foreach(execid arange arrstr complement empty filter foldl foldr foldt head init insert intersection iterfold last limit map reverse set sort split strarr subscript tail unfold union)
4443
add_executable(test_${execid} src/tests/test_${execid}.f90)
4544
target_link_libraries(test_${execid} functional testing)
4645
add_test(test_${execid} bin/test_${execid})

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016-2017, Wavebit Scientific LLC
1+
Copyright (c) 2016-2018, Milan Curcic
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ All of the above functions are compatible with the standard Fortran 2008 kinds:
7171
`int8`, `int16`, `int32`, `int64`, `real32`, `real64`, `real128`,
7272
`complex(real32)`, `complex(real64)`, and `complex(real128)`.
7373

74+
Further, these functions (and their corresponding operators)
75+
are compatible with character strings:
76+
`complement`, `empty`, `head`, `init`, `intersection`, `insert`,
77+
`last`, `reverse`, `set`, `sort`, `split`, `tail`, and `union`.
78+
7479
Functions that operate on one or two arguments are also available as
7580
unary or binary operators, respectively. These are:
7681
`.complement.`, `.head.`, `.init.`, `.intersection.`, `.last.`,

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.4.0

0 commit comments

Comments
 (0)