zug icon indicating copy to clipboard operation
zug copied to clipboard

Transducers for C++ — Clojure style higher order push/pull sequence transformations

Results 9 zug issues
Sort by recently updated
recently updated
newest added

https://github.com/arximboldi/lager/issues/199

Hello! I was trying to link zug and Boost.Hana in a project of mine and ran into issues with target names, so I decided to make a fork and add...

enhancement

I have a usecase like: ``` auto meas = std::vector{{0,"a"},{1,"b"},{2,"c"},{3,"d"}}; auto get_timestamps=zug::map([](auto x){ auto [t,b] = x; return t; }); auto all_timestamps = meas | get_timestamps; auto first_ts = all_timestamps...

Hi! Thank you a lot for the awesome library! Can you please make a release of the library? It'll help a lot with packaging your library in Conan since it's...

enhancement

Steps to achieve it: - [ ] There's only 1 place which always depends on boost, computation of return type for `zug::sequence`. Could it be changed? - [ ] Document...

enhancement

```shell Use --sandbox_debug to see verbose messages from the sandbox wrapped_clang failed: error executing command (cd /private/var/tmp/_bazel_yesudeep/148f9f6ebca6e47e7d6d5ed427a82e62/sandbox/darwin-sandbox/1184/execroot/__main__ && \ exec env - \ APPLE_SDK_PLATFORM=MacOSX \ APPLE_SDK_VERSION_OVERRIDE=11.0 \ PATH='/Users/yesudeep/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/yesudeep/code/src/fzf/bin' \ XCODE_VERSION_OVERRIDE=12.0.0.12A8189h...

bug

I got this build failure: ``` /usr/include/zug/sequence.hpp:225:47: error: wrong number of template arguments (1, should be at least 2) 225 | std::decay_t...> | ^ /usr/include/zug/sequence.hpp:158:8: note: provided for ‘template struct...

bug

For example I'm looking for an equivalent to ``` std::vector src = {1,2,3,4,5,6}; std::vector result = src | flatMap([](int i){ return i%2 == 0 ? std::vector{i,i+1} : std::vector{i} ; })...

enhancement

Fails with gcc 15: ``` [ 21s] + /usr/bin/cmake --build build -j8 -t check [...] [ 67s] /home/abuild/rpmbuild/BUILD/zug-0.1.1-build/zug-0.1.1/zug/sequence.hpp:75:33: error: ‘struct zug::detail::sequence_data’ has no member named ‘impl’; did you mean ‘impl_’?...